SiiNunit
{
ui::button_template : btn.editor0 {
	name:"Editor"
	n_pml:"<img src=/material/ui/editor/button_n.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	s_pml:"<img src=/material/ui/editor/button_s.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
       s2_pml:"<img src=/material/ui/editor/button_p.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	p_pml:"<img src=/material/ui/editor/button_p.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	d_pml:"<img src=/material/ui/editor/button_n.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=50505050>%0</font></align>"
	width:128
	height:24
}
ui::button_template : btn.editor.save {
	name:"Editor Save"
	n_pml:"<img src=/material/ui/editor/save_n.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	s_pml:"<img src=/material/ui/editor/save_s.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
       s2_pml:"<img src=/material/ui/editor/save_s.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	p_pml:"<img src=/material/ui/editor/save_p.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	d_pml:"<img src=/material/ui/editor/save_n.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=50505050>%0</font></align>"
	width:128
	height:24
}
ui::button_template : btn.editor.run {
	name:"Editor Run"
	n_pml:"<img src=/material/ui/editor/run_n.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	s_pml:"<img src=/material/ui/editor/run_s.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
       s2_pml:"<img src=/material/ui/editor/run_s.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	p_pml:"<img src=/material/ui/editor/run_p.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=ffffffff>%0</font></align>"
	d_pml:"<img src=/material/ui/editor/run_n.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center><font face=editor.font><color value=50505050>%0</font></align>"
	width:128
	height:24
}
ui::button_template : btn.editor.dropdown {
	name:"Editor Dropdown"
	n_pml:"<img src=/material/ui/editor/dropdown_n.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center right=-20><font face=editor.font><color value=ffffffff>%0</font></align>"
	s_pml:"<img src=/material/ui/editor/dropdown_s.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center right=-20><font face=editor.font><color value=ffffffff>%0</font></align>"
       s2_pml:"<img src=/material/ui/editor/dropdown_p.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center right=-20><font face=editor.font><color value=ffffffff>%0</font></align>"
	p_pml:"<img src=/material/ui/editor/dropdown_p.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center right=-20><font face=editor.font><color value=ffffffff>%0</font></align>"
	d_pml:"<img src=/material/ui/editor/dropdown_n.mat xscale=stretch yscale=stretch><ret><offset vshift=6><align hstyle=center right=-20><font face=editor.font><color value=50505050>%0</font></align>"
	width:148
	height:24
}

ui::button_template : btn.screen_link {
	name:"Button Screen Link"
	n_pml:"<align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><offset vshift=66><align hstyle=center><font face=/font/small.font>%1</font></align><ret>
<align hstyle=right><img src=/material/ui/button/mail_number.mat color=%3></align><ret>
<offset vshift=8 hshift=47><align hstyle=center><font face=/font/small.font><color value=FF000000>%2</font></align>"
	s_pml:"<align hstyle=center><img src=/material/ui/link/%0.mat left=0.5></align><ret><offset vshift=66><align hstyle=center><font face=/font/small.font>%1</font></align><ret>
<align hstyle=right><img src=/material/ui/button/mail_number.mat color=%3></align><ret>
<offset vshift=8 hshift=47><align hstyle=center><font face=/font/small.font><color value=FF000000>%2</font></align>"
       s2_pml:"<align hstyle=center><img src=/material/ui/link/%0.mat left=0.5></align><ret><offset vshift=66><align hstyle=center><font face=/font/small.font>%1</font></align><ret>
<align hstyle=right><img src=/material/ui/button/mail_number.mat color=%3></align><ret>
<offset vshift=8 hshift=47><align hstyle=center><font face=/font/small.font><color value=FF000000>%2</font></align>"
	p_pml:"<align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><offset vshift=66><align hstyle=center><font face=/font/small.font>%1</font></align><ret>
<align hstyle=right><img src=/material/ui/button/mail_number.mat color=%3></align><ret>
<offset vshift=8 hshift=47><align hstyle=center><font face=/font/small.font><color value=FF000000>%2</font></align>"
	d_pml:"<color value=40FFFFFF><align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><offset vshift=66><align hstyle=center><font face=/font/small.font>%1</font></align><ret>
<align hstyle=right><img src=/material/ui/button/mail_number.mat color=%3></align><ret>
<offset vshift=8 hshift=47><align hstyle=center><font face=/font/small.font><color value=FF000000>%2</font></align>"
	width: 80
}

ui::button_template : btn.overview_lnk {
	name:"Button Overview Link"
	n_pml:"<margin right=90><align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><color value=@@clr_white@@><offset vshift=66><align hstyle=center><font face=/font/normal.font>%1</font></align></margin><ret><margin left=98><offset vshift=12><color value=@@clr_txt@@><font face=/font/normal.font>%2</font></margin>"
	s_pml:"<margin right=90><align hstyle=center><img src=/material/ui/link/%0.mat  left=0.5></align><ret><offset vshift=66><align hstyle=center><font face=/font/normal.font>%1</font></align></margin><ret><margin left=98><offset vshift=12><font face=/font/normal.font>%2</font></margin>"
	p_pml:"<margin right=90><align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><color value=@@clr_white@@><offset vshift=66><align hstyle=center><font face=/font/normal.font>%1</font></align></margin><ret><margin left=98><offset vshift=12><color value=@@clr_txt@@><font face=/font/normal.font>%2</font></margin>"
	d_pml:"<color value=40FFFFFF><margin right=90><align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><offset vshift=66><align hstyle=center><font face=/font/normal.font>%1</font></align></margin><ret><margin left=98><offset vshift=12><font face=/font/normal.font>%2</font></margin>"
	width: 456
	height:100
}

ui::button_template : btn.desktop_ntfy {
	name:"Desktop notification"
	n_pml:"<align vstyle=center hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><ret><margin left=74><align vstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></align></margin>"
	s_pml:"<align vstyle=center hstyle=left><img src=/material/ui/link/%0.mat left=0.5></align><ret><margin left=74><align vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%1</font></align></margin>"
	p_pml:"<align vstyle=center hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><ret><margin left=74><align vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%1</font></align></margin>"
	d_pml:"<color value=40FFFFFF><align vstyle=center hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><ret><margin left=74><align vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font>%1</font></align></margin>"
}

ui::button_template : btn.normal {
	name:"Normal button"
	n_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=@@clr_txt@@><font face=/font/big.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_focus.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=FFFFFFFF><font face=/font/big.font>%0</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_press.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_press.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	d_pml:
"<color value=40FFFFFF><img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=33FFFFFF><font face=/font/big.font>%0</font></align>"
	height: 32
}

ui::button_template : btn.thin {
	name:"Thin button"
	n_pml: "<img src=/material/ui/button/loan_n.mat left=1 right=0><img src=/material/ui/button/loan_n.mat right=0 width=-4><img src=/material/ui/button/loan_n.mat><ret><align hstyle=center vstyle=center><font face=/font/normal.font>%0</font></align>"
	s_pml: "<img src=/material/ui/button/loan_s.mat left=1 right=0><img src=/material/ui/button/loan_s.mat right=0 width=-4><img src=/material/ui/button/loan_s.mat><ret><align hstyle=center vstyle=center><font face=/font/normal.font>%0</font></align>"
	p_pml: "<img src=/material/ui/button/loan_p.mat left=1 right=0><img src=/material/ui/button/loan_p.mat right=0 width=-4><img src=/material/ui/button/loan_p.mat><ret><align hstyle=center vstyle=center><font face=/font/normal.font>%0</font></align>"
	height: 28
}

ui::button_template : btn.with.arrow.left {
	name:"Button with arrow on left directed to up"
	n_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 top=1 bottom=0 color=@@clr_txt@@><ret><offset hshift=70><align vstyle=center><color value=@@clr_txt@@><font face=/font/big.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_focus.mat width=-20><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 top=1 bottom=0 color=FFFFFFFF><ret><offset hshift=70><align vstyle=center><color value=FFFFFFFF><font face=/font/big.font>%0</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_press.mat width=-20><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 top=1 bottom=0 color=@@clr_sel@@><ret><offset hshift=70><align vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_press.mat width=-20><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 top=1 bottom=0 color=@@clr_sel@@><ret><offset hshift=70><align vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	d_pml:
"<color value=31FFFFFF><img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 top=1 bottom=0 color=31FFFFFF><ret><offset hshift=70><align vstyle=center><color value=31FFFFFF><font face=/font/big.font>%0</font></align>"
	height: 32
}

ui::button_template : btn.with.arrow.left.down {
	name:"Button with arrow on left directed to down"
	n_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 color=@@clr_txt@@><ret><offset hshift=70><align vstyle=center><color value=@@clr_txt@@><font face=/font/big.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_focus.mat width=-20><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 color=FFFFFFFF><ret><offset hshift=70><align vstyle=center><color value=FFFFFFFF><font face=/font/big.font>%0</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_press.mat width=-20><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 color=@@clr_sel@@><ret><offset hshift=70><align vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_press.mat width=-20><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 color=@@clr_sel@@><ret><offset hshift=70><align vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	d_pml:
"<color value=31FFFFFF><img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20 vshift=7><img src=/material/ui/button/arrow_overlay.mat width=40 height=18 color=31FFFFFF><ret><offset hshift=70><align vstyle=center><color value=31FFFFFF><font face=/font/big.font>%0</font></align>"
	height: 32
}

// base checbox, button texture

ui::button_template : btn.checkbox {
	name: "Checkbox"
	n_pml: "<img src=/material/ui/button/checkbox_1.mat>"
	s_pml: "<img src=/material/ui/button/checkbox_2.mat>"
	s2_pml: "<img src=/material/ui/button/checkbox_4.mat>"
	p_pml: "<img src=/material/ui/button/checkbox_3.mat>"
	d_pml: "<color value=FF505050><img src=/material/ui/button/checkbox_1.mat>"
	height: 32
	width: 32
}

ui::button_template : btn.checkbox.dis_on {
	name: "Checkbox (disabled on)"
	n_pml: "<img src=/material/ui/button/checkbox_1.mat>"
	s_pml: "<img src=/material/ui/button/checkbox_2.mat>"
	s2_pml: "<img src=/material/ui/button/checkbox_4.mat>"
	p_pml: "<img src=/material/ui/button/checkbox_3.mat>"
	d_pml: "<color value=FF505050><img src=/material/ui/button/checkbox_3.mat>"
	height: 32
	width: 32
}

ui::button_template : btn.checkbox.switch {
	name: "Checkbox switch"
	n_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><font face=/font/big.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_light.mat left=1 right=0><img src=/material/ui/button/btn_light.mat right=0 width=-8><img src=/material/ui/button/btn_light.mat><ret>
<align hstyle=center vstyle=center><font face=/font/big.font>%0</font></align>"
	s2_pml:
"<img src=/material/ui/button/btn_light.mat left=1 right=0><img src=/material/ui/button/btn_light.mat right=0 width=-8><img src=/material/ui/button/btn_light.mat><ret>
<align hstyle=center vstyle=center><font face=/font/big.font>%0</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><font face=/font/big.font>%0</font></align>"
	d_pml:
"<color value=FF505050><img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat>"
	height: 32
}

ui::button_template : btn.binding {
	name:"Checkbox bind"
	n_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=FFFFFFFF><font face=/font/normal.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_light.mat left=1 right=0><img src=/material/ui/button/btn_light.mat right=0 width=-8><img src=/material/ui/button/btn_light.mat><ret>
<align hstyle=center vstyle=center><color value=FFFFFFFF><font face=/font/normal.font>%0</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_light.mat left=1 right=0><img src=/material/ui/button/btn_light.mat right=0 width=-8><img src=/material/ui/button/btn_light.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_bind_overlay.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%0</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_bind_overlay.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%0</font></align>"
	d_pml:
"<color value=31FFFFFF><img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=31FFFFFF><font face=/font/normal.font>%0</font></align>"
	height: 32
}

ui::button_template : btn.goldcheckbox {
	name: "Gold Checkbox"
	n_pml: "<img src=/material/ui/button/gold_checkbox_1.mat>"
	s_pml: "<img src=/material/ui/button/gold_checkbox_2.mat>"
	s2_pml: "<img src=/material/ui/button/gold_checkbox_4.mat>"
	p_pml: "<img src=/material/ui/button/gold_checkbox_3.mat>"
	d_pml: "<color value=FF505050><img src=/material/ui/button/gold_checkbox_1.mat>"
	height: 32
	width: 32
}

ui::button_template : btn.mutecheckbox {
	name: "Mute Checkbox"
	n_pml: "<img src=/material/ui/button/mute_checkbox_1.mat>"
	s_pml: "<img src=/material/ui/button/mute_checkbox_2.mat>"
	s2_pml: "<img src=/material/ui/button/mute_checkbox_4.mat>"
	p_pml: "<img src=/material/ui/button/mute_checkbox_3.mat>"
	d_pml: "<color value=FF505050><img src=/material/ui/button/mute_checkbox_1.mat>"
	height: 32
	width: 32
}

ui::button_template : btn.radio {
	name:"Radio button"
	n_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=FFFFFFFF><font face=/font/big.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_focus.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=FFFFFFFF><font face=/font/big.font>%0</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_focus.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	d_pml:
"<color value=31FFFFFF><img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=31FFFFFF><font face=/font/big.font>%0</font></align>"
	height: 32
}


# generic listbox
ui::button_template : btn.listbox {
	name: "Listbox"
	n_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-55><img src=/material/ui/button/btn_dark.mat>
<offset hshift=2><img src=/material/ui/button/btn_listbox_dark.mat right=p45><ret>
<align vstyle=center><offset hshift=20><font face=/font/normal.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_light.mat left=1 right=0><img src=/material/ui/button/btn_light.mat right=0 width=-55><img src=/material/ui/button/btn_light.mat>
<offset hshift=2><img src=/material/ui/button/btn_listbox_light.mat right=p45><ret>
<align vstyle=center><offset hshift=20><font face=/font/normal.font>%0</font></align>"
	s2_pml:
"<img src=/material/ui/button/btn_yellow.mat left=1 right=0><img src=/material/ui/button/btn_yellow.mat right=0 width=-55><img src=/material/ui/button/btn_yellow.mat>
<offset hshift=2><img src=/material/ui/button/btn_listbox_yellow.mat right=p45><ret>
<align vstyle=center><offset hshift=20><color value=FF000000><font face=/font/normal.font>%0</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_yellow.mat left=1 right=0><img src=/material/ui/button/btn_yellow.mat right=0 width=-55><img src=/material/ui/button/btn_yellow.mat>
<offset hshift=2><img src=/material/ui/button/btn_listbox_yellow.mat right=p45><ret>
<align vstyle=center><offset hshift=20><color value=FF000000><font face=/font/normal.font>%0</font></align>"
	d_pml:
"<color value=FF505050><img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-55><img src=/material/ui/button/btn_dark.mat>
<offset hshift=2><img src=/material/ui/button/btn_listbox_dark.mat right=p45><ret>
<align vstyle=center><offset hshift=20><font face=/font/normal.font>%0</font></align>"
	height: 32
}


ui::button_template : btn.listbox.25 {
	name: "Listbox 25px"
	n_pml:"<img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=-55><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><offset hshift=2><img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=6><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p28><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=7><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><ret><align vstyle=center><offset hshift=16><font face=/font/normal.font><color value=@@clr_sel@@>%0</font></align>"
	s_pml:"<img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=-55><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><offset hshift=2><img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=6><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p28><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=7><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><ret><align vstyle=center><offset hshift=16><font face=/font/normal.font><color value=@@clr_sel@@>%0</font></align>"
       s2_pml:"<img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=-55><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><offset hshift=2><img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=6><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p28><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=7><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><ret><align vstyle=center><offset hshift=16><font face=/font/normal.font><color value=@@clr_sel@@>%0</font></align>"
	p_pml:"<img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=-55><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><offset hshift=2><img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=6><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p28><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=7><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><ret><align vstyle=center><offset hshift=16><font face=/font/normal.font><color value=@@clr_sel@@>%0</font></align>"
	d_pml:
"<color value=FF505050><img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=-55><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><offset hshift=2><img src=/material/ui/button/btn_listbox_small_dark.mat left=0 right=p4><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=6><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p28><img src=/material/ui/button/btn_listbox_small_dark.mat left=p4 right=p4 width=7><img src=/material/ui/button/btn_listbox_small_dark.mat left=p28 right=1><ret><align vstyle=center><offset hshift=16><font face=/font/normal.font>%0</font></align>"
	height: 25
}


ui::button_template : btn.listbox.desktop {
	name: "Listbox Desktop"
	n_pml: "<img src=/material/ui/window/widget_simple_corner.mat width=16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 width=-16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 right=0 bottom=p12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=0.99 width=-16 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=1 right=0 height=-12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 width=-16 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 right=0 top=p12><ret><align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=@@clr_sel@@>%1</font></align><ret><offset hshift=250 vshift=11><color value=FFFFFFFF><img src=/material/ui/icon/arrow_down_drop.mat>"

	s_pml:"<img src=/material/ui/window/widget_simple_corner.mat width=16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 width=-16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 right=0 bottom=p12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=0.99 width=-16 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=1 right=0 height=-12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 width=-16 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 right=0 top=p12><ret><align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=@@clr_sel@@>%1</font></align><ret><offset hshift=250 vshift=11><img src=/material/ui/icon/arrow_down_drop.mat>"

	s2_pml:"<img src=/material/ui/window/widget_simple_corner.mat width=16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 width=-16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 right=0 bottom=p12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=0.99 width=-16 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=1 right=0 height=-12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 width=-16 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 right=0 top=p12><ret><align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=@@clr_sel@@>%1</font></align><ret><offset hshift=250 vshift=7><img src=/material/ui/icon/arrow_down_drop.mat bottom=p0 top=p16>"

	p_pml:"<img src=/material/ui/window/widget_simple_corner.mat width=16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 width=-16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 right=0 bottom=p12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=0.99 width=-16 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=1 right=0 height=-12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 width=-16 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 right=0 top=p12><ret><align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=@@clr_sel@@>%1</font></align><ret><offset hshift=250 vshift=7><img src=/material/ui/icon/arrow_down_drop.mat bottom=p0 top=p16>"

	d_pml: "<img src=/material/ui/window/widget_simple_corner.mat width=16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 width=-16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 right=0 bottom=p12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=0.99 width=-16 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=1 right=0 height=-12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 width=-16 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 right=0 top=p12><ret><align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=@@clr_sel@@>%1</font></align>"

	height: 34
}

ui::button_template : btn.listitem.desktop {
	name: "List Item (Desktop)"
	n_pml: "<align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=FFFFFFFF>%1</font></align>"
	s_pml: "<offset hshift=5><img src=/material/ui/button/btn_dark.mat xscale=stretch yscale=stretch width=-5><ret><align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=FFFFFFFF>%1</font></align>"
	s2_pml: "<offset hshift=5><img src=/material/ui/button/btn_dark.mat xscale=stretch yscale=stretch width=-5><ret><align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=@@clr_sel@@>%1</font></align>"
	p_pml: "<align vstyle=center><offset hshift=12><img src=/material/ui/icon/clock.mat><offset hshift=8><font face=/font/normal.font><color value=@@clr_txt@@>%0: <color value=@@clr_sel@@>%1</font></align>"
}

# generic list item (for listbox)
ui::button_template : btn.list.item {
	name: "List Item (left)"
	n_pml: "<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF101010><ret><align vstyle=center><offset hshift=20><font face=/font/normal.font><color value=FFFFFFFF>%0</font></align>"
	s_pml: "<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF323232><ret><align vstyle=center><offset hshift=20><font face=/font/normal.font><color value=FFFFFFFF>%0</font></align>"
	s2_pml: "<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF323232><ret><align vstyle=center><offset hshift=20><font face=/font/normal.font><color value=@@clr_sel@@>%0</font></align>"
	p_pml: "<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF101010><ret><align vstyle=center><offset hshift=20><font face=/font/normal.font><color value=@@clr_sel@@>%0</font></align>"
}

# dummy template needed for compatibility with activation screens
ui::button_template : btn.list.item.cp {
	name: "List Item (left cp)"
	n_pml: "<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF101010><ret><align vstyle=center><offset hshift=20><font face=/font/normal.font><color value=FFFFFFFF>%0</font></align>"
	s_pml: "<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF323232><ret><align vstyle=center><offset hshift=20><font face=/font/normal.font><color value=FFFFFFFF>%0</font></align>"
	s2_pml: "<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF323232><ret><align vstyle=center><offset hshift=20><font face=/font/normal.font><color value=@@clr_sel@@>%0</font></align>"
	p_pml: "<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=FF101010><ret><align vstyle=center><offset hshift=20><font face=/font/normal.font><color value=@@clr_sel@@>%0</font></align>"
}

# DLC Browser template
ui::button_template : btn.list.item.dlc_browser {
	name: "DLC Browser button"
	n_pml: "%0"

	s_pml: "<img src=/material/ui/white.mat width=350 height=130 color=FF1C1C1C>
			<ret><offset vshift=14><margin left=15 right=335><font face=/font/small.font><color value=@@clr_white@@>%1</font><font face=/font/small.font><color value=@@clr_green@@><br><br>Visit store</font></margin>"

	p_pml: "<img src=/material/ui/white.mat width=350 height=130 color=FF1C1C1C>
			<ret><offset vshift=14><margin left=15 right=335><font face=/font/small.font><color value=@@clr_white@@>%1</font><font face=/font/small.font><color value=@@clr_green@@><br><br>Visit store</font></margin>"

	width: 350
	height:172
}

# close window button
ui::button_template : btn.closewin {
	name: "Close window button"
	n_pml: "<color value=FFC0C0C0><img src=/material/ui/button/close.mat right=p29 bottom=p29>"
	s_pml: "<img src=/material/ui/button/close.mat right=p29 bottom=p29>"
	s2_pml: "<img src=/material/ui/button/close.mat left=p32 bottom=p29>"
	p_pml: "<img src=/material/ui/button/close.mat left=p32 bottom=p29>"
	d_pml: "<color value=FF505050><img src=/material/ui/button/close.mat right=p29 bottom=p29>"
	height: 30
	width: 30
}

ui::button_template : btn.help {
	name: "Help button"
	n_pml: "<img src=/material/ui/button/help_n.mat>"
	s_pml: "<img src=/material/ui/button/help_s.mat>"
	s2_pml: "<img src=/material/ui/button/help_p.mat>"
	p_pml: "<img src=/material/ui/button/help_p.mat>"
	d_pml: "<img src=/material/ui/button/help_n.mat color=60FFFFFF>"
	height: 32
	width: 32
}

ui::button_template : btn.help.small {
	name: "Help button small"
	n_pml: "<img src=/material/ui/button/help_n.mat xscale=stretch yscale=stretch>"
	s_pml: "<img src=/material/ui/button/help_s.mat xscale=stretch yscale=stretch>"
	s2_pml: "<img src=/material/ui/button/help_p.mat xscale=stretch yscale=stretch>"
	p_pml: "<img src=/material/ui/button/help_p.mat xscale=stretch yscale=stretch>"
	d_pml: "<img src=/material/ui/button/help_p.mat xscale=stretch yscale=stretch color=60FFFFFF>"
	height: 25
	width: 25
}

ui::button_template : btn.closehelp {
	name: "Close help button"

	n_pml: "<img src=/material/ui/tooltip/help_close.mat right=0.49>"
	s_pml: "<img src=/material/ui/tooltip/help_close.mat left=0.5>"
	s2_pml: "<img src=/material/ui/tooltip/help_close.mat left=0.5>"
	p_pml: "<img src=/material/ui/tooltip/help_close.mat right=0.49>"
	d_pml: "<color value=FF505050><img src=/material/ui/tooltip/help_close.mat right=0.49>"

	height: 32
	width: 32
}

ui::button_template : btn.gfx.preset {
	name:"Gfx preset"
	n_pml:"<img src=/material/ui/gfx_pre_but.mat right=p68 bottom=p40>"
	s_pml:"<img src=/material/ui/gfx_pre_but3.mat right=p68 bottom=p40>"
	s2_pml:"<img src=/material/ui/gfx_pre_but4.mat right=p68 bottom=p40>"
	p_pml:"<img src=/material/ui/gfx_pre_but2.mat right=p68 bottom=p40>"
	d_pml:"<color value=FF505050><img src=/material/ui/gfx_pre_but.mat right=p68 bottom=p40>"
	height: 40
	width: 68
}

ui::button_template : btn.adviser.icon {
	name:"Adviser button"
	n_pml:"<align hstyle=center vstyle=center><img src=/material/ui/adviser/%0 right=p32></align>"
	s_pml:"<img src=/material/ui/white.mat xscale=stretch yscale=stretch color=70000000><ret><align hstyle=center vstyle=center><img src=/material/ui/adviser/%0 right=p32></align>"
	s2_pml:"<img src=/material/ui/adviser/ico_press.mat top=p12 bottom=p52 left=p14 right=p50><ret><align hstyle=center vstyle=center><img src=/material/ui/adviser/%0 right=p32></align>"
	p_pml:"<img src=/material/ui/adviser/ico_press.mat top=p12 bottom=p52 left=p14 right=p50><ret><align hstyle=center vstyle=center><img src=/material/ui/adviser/%0 right=p32></align>"
	d_pml:"<align hstyle=center vstyle=center><color value=FF505050><img src=/material/ui/adviser/%0 right=p32></align>"
	height: 40
	width: 36
}

ui::button_template : btn.adviser.mail {
	name: "Adviser mail"
	n_pml: "<align hstyle=center vstyle=center><img src=/material/ui/adviser/mail1.mat></align><ret><align hstyle=center vstyle=center><img src=/material/ui/adviser/mail2.mat color=%0FFFFFF></align>"
	s_pml: "<align hstyle=center vstyle=center><img src=/material/ui/adviser/mail1.mat></align><ret><align hstyle=center vstyle=center><img src=/material/ui/adviser/mail2.mat color=%0FFFFFF></align>"
	p_pml: "<align hstyle=center vstyle=center><img src=/material/ui/adviser/mail1.mat></align><ret><align hstyle=center vstyle=center><img src=/material/ui/adviser/mail2.mat color=%0FFFFFF></align>"

	height: 22
}


ui::button_template : btn.adviser.skill_plus {
	name:"Skills plus"
	n_pml:"<img src=/material/ui/button/%0_2.mat top=p8 bottom=p56 left=p8 right=p56>"
	s_pml:"<img src=/material/ui/button/%0_1.mat top=p8 bottom=p56 left=p8 right=p56>"
       s2_pml:"<img src=/material/ui/button/%0_1.mat top=p8 bottom=p56 left=p8 right=p56>"
	p_pml:"<img src=/material/ui/button/%0_3.mat top=p8 bottom=p56 left=p8 right=p56>"
	d_pml:"<color value=FF505050><img src=/material/ui/button/%0_2.mat top=p8 bottom=p56 left=p8 right=p56>"
	height: 48
	width: 48
}

ui::button_template : btn.adviser.eta {
	name:"Adviser ETA mode button"
	n_pml:"<img src=/material/ui/adviser/ico_eta_%0.mat top=p6 bottom=p27 left=p6 right=p27>"
	s_pml:"<img src=/material/ui/adviser/ico_eta_%0_selected.mat top=p6 bottom=p27 left=p6 right=p27>"
	p_pml:"<img src=/material/ui/adviser/ico_eta_%0_selected.mat top=p6 bottom=p27 left=p6 right=p27>"
	height: 21
	width: 21
}

ui::button_template : btn.adviser.map_plus {
	name:"Adviser map plus"
	n_pml:"<img src=/material/ui/adviser/plus1.mat top=p5 bottom=p27 left=p5 right=p27>"
	s_pml:"<img src=/material/ui/adviser/plus1.mat top=p5 bottom=p27 left=p5 right=p27>"
	s2_pml:"<img src=/material/ui/adviser/plus2.mat top=p5 bottom=p27 left=p5 right=p27>"
	p_pml:"<img src=/material/ui/adviser/plus2.mat top=p5 bottom=p27 left=p5 right=p27>"
	d_pml:"<color value=FF505050><img src=/material/ui/adviser/plus1.mat top=p5 bottom=p27 left=p5 right=p27>"
	height: 22
	width: 22
}

ui::button_template : btn.adviser.map_minus {
	name:"Adviser map minus"
	n_pml:"<img src=/material/ui/adviser/minus1.mat top=p5 bottom=p27 left=p5 right=p27>"
	s_pml:"<img src=/material/ui/adviser/minus1.mat top=p5 bottom=p27 left=p5 right=p27>"
	s2_pml:"<img src=/material/ui/adviser/minus2.mat top=p5 bottom=p27 left=p5 right=p27>"
	p_pml:"<img src=/material/ui/adviser/minus2.mat top=p5 bottom=p27 left=p5 right=p27>"
	d_pml:"<color value=FF505050><img src=/material/ui/adviser/minus1.mat top=p5 bottom=p27 left=p5 right=p27>"
	height: 22
	width: 22
}

ui::button_template : btn.adviser.map_zoom {
	name:"Adviser map zoom"

	n_pml:"<img src=/material/ui/adviser/key_button_bcg1.mat right=0.5><img src=/material/ui/adviser/key_button_bcg1.mat left=0.5 right=0.6 width=-16><img src=/material/ui/adviser/key_button_bcg1.mat left=0.5><ret>
<offset hshift=10 vshift=8><img src=/material/ui/adviser/map_zoom1.mat><offset hshift=4><font face=/font/normal.font><color value=FFCECECE><nowrap>%0</nowrap></font>"

	s_pml:"<img src=/material/ui/adviser/key_button_bcg2.mat right=0.5><img src=/material/ui/adviser/key_button_bcg2.mat left=0.5 right=0.6 width=-16><img src=/material/ui/adviser/key_button_bcg2.mat left=0.5><ret>
<offset hshift=10 vshift=8><img src=/material/ui/adviser/map_zoom2.mat><offset hshift=4><font face=/font/normal.font><color value=FF242424><nowrap>%0</nowrap></font>"

	p_pml:"<img src=/material/ui/adviser/key_button_bcg1.mat right=0.5><img src=/material/ui/adviser/key_button_bcg1.mat left=0.5 right=0.6 width=-16><img src=/material/ui/adviser/key_button_bcg1.mat left=0.5><ret>
<offset hshift=10 vshift=8><img src=/material/ui/adviser/map_zoom1.mat><offset hshift=4><font face=/font/normal.font><color value=FFCECECE><nowrap>%0</nowrap></font>"
}

ui::button_template : btn.adviser.cancel_job {
	name:"Adviser cancel job"
	n_pml:
"<img src=/material/ui/adviser/bar_up1.mat top=p5 xscale=stretch><ret>
<offset hshift=20><img src=/material/ui/white.mat yscale=stretch color=70000000><img src=%1><img src=/material/ui/white.mat yscale=stretch color=70000000><ret>
<align hstyle=center vstyle=center><font face=/font/normal.font><color value=FFCECECE><nowrap>%0</nowrap></font></align>"

	d_pml:
"<img src=/material/ui/adviser/bar_up1.mat top=p5 xscale=stretch><ret>
<offset hshift=20><img src=/material/ui/white.mat yscale=stretch color=20505050><img src=%1><img src=/material/ui/white.mat yscale=stretch color=20505050><ret>
<align hstyle=center vstyle=center><font face=/font/normal.font><color value=FF808080><nowrap>%0</nowrap></font></align>"

	s_pml:
"<img src=/material/ui/white.mat xscale=stretch color=FF000000><img src=/material/ui/adviser/bar_up1.mat top=p5 xscale=stretch><ret>
<offset vshift=1 hshift=40><img src=/material/ui/white.mat xscale=stretch yscale=stretch color=70000000 width=-40><ret>
<offset vshift=1 hshift=20><img src=/material/ui/white.mat yscale=stretch color=70000000><img src=%1><img src=/material/ui/white.mat yscale=stretch color=70000000><ret>
<align hstyle=center vstyle=center><font face=/font/normal.font><color value=FFCECECE><nowrap>%0</nowrap></font></align>"

	p_pml:
"<img src=/material/ui/white.mat xscale=stretch color=FF000000><img src=/material/ui/adviser/bar_up1.mat top=p5 xscale=stretch><ret>
<offset vshift=1 hshift=40><img src=/material/ui/white.mat xscale=stretch yscale=stretch color=70000000 width=-40><ret>
<offset vshift=1 hshift=20><img src=/material/ui/white.mat yscale=stretch color=70000000><img src=%1><img src=/material/ui/white.mat yscale=stretch color=70000000><ret>
<align hstyle=center vstyle=center><font face=/font/normal.font><color value=FFCECECE><nowrap>%0</nowrap></font></align>"
}

ui::button_template : btn.adviser.assistance {
	name:"Adviser assistance button"
	n_pml: "<img src=/material/ui/adviser/ico_assistance.mat>"
	d_pml: "<img src=/material/ui/adviser/ico_assistance.mat>"
	s_pml: "<img src=/material/ui/adviser/ico_assistance.mat left=p32>"
	p_pml: "<img src=/material/ui/adviser/ico_assistance.mat>"

	width: 32
	height: 32
}


ui::button_template : btn.adjust_key {
	name:"Adjust key"
	n_pml: "<img src=/material/ui/button/arrow_0.mat right=p35 left=p51><img src=/material/ui/button/arrow_0.mat right=p35 left=p35 width=-16><img src=/material/ui/button/arrow_0.mat left=p35 right=p51><ret><color value=FF000000><align hstyle=center vstyle=center><font face=/font/normal.font>%0</font></align>"
	s_pml: "<img src=/material/ui/button/arrow_1.mat right=p35 left=p51><img src=/material/ui/button/arrow_1.mat right=p35 left=p35 width=-16><img src=/material/ui/button/arrow_1.mat left=p35 right=p51><ret><color value=FF000000><align hstyle=center vstyle=center><font face=/font/normal.font>%0</font></align>"
       s2_pml: "<img src=/material/ui/button/arrow_2.mat right=p35 left=p51><img src=/material/ui/button/arrow_2.mat right=p35 left=p35 width=-16><img src=/material/ui/button/arrow_2.mat left=p35 right=p51><ret><color value=FF000000><align hstyle=center vstyle=center><font face=/font/normal.font>%0</font></align>"
	p_pml: "<img src=/material/ui/button/arrow_2.mat right=p35 left=p51><img src=/material/ui/button/arrow_2.mat right=p35 left=p35 width=-16><img src=/material/ui/button/arrow_2.mat left=p35 right=p51><ret><color value=FF000000><align hstyle=center vstyle=center><font face=/font/normal.font>%0</font></align>"
	height: 32
}

ui::button_template : btn.truck_accbr {
	name:"Truck browser accessory (no price)"
	n_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<ret><offset hshift=12 vshift=4><align vstyle=bottom hstyle=right right=-10 bottom=-7><color value=@@clr_sel@@>%7</align><color value=FFFFFFFF><ret></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF>%9</nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<ret><offset hshift=12 vshift=4><align vstyle=bottom hstyle=right right=-10 bottom=-7><color value=@@clr_sel@@>%7</align><color value=FFFFFFFF><ret></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF><ret><offset hshift=281 vshift=36><img src=/material/ui/white.mat width=5 height=33 color=@@clr_sel@@>%9</nowrap>"
	s2_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<ret><offset hshift=12 vshift=4><align vstyle=bottom hstyle=right right=-10 bottom=-7><color value=@@clr_sel@@>%7</align><color value=FFFFFFFF><ret></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/owned.mat color=FFFFFFFF><ret><img src=/material/ui/button/gradient_border.mat><ret><offset hshift=284><img src=/material/ui/button/gradient_border.mat><ret><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF><ret><offset vshift=98><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF>%9</nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<ret><offset hshift=12 vshift=4><align vstyle=bottom hstyle=right right=-10 bottom=-7><color value=@@clr_sel@@>%7</align><color value=FFFFFFFF><ret></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/owned.mat color=FFFFFFFF><ret><img src=/material/ui/button/gradient_border.mat><ret><offset hshift=284><img src=/material/ui/button/gradient_border.mat><ret><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF><ret><offset vshift=98><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF>%9</nowrap>"
	d_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=-10 vshift=15><img src=/material/ui/company_manager/empty_slot.mat><ret><offset vshift=26 hshift=80><align vstyle=center><font face=/font/normal.font><color value=FFC7C7C7>@@available_at@@<color value=@@clr_sel@@> %7<color value=FFFFFFFF></align></font></nowrap>"
}

ui::button_template : btn.truck_accad {
	name:"Truck adjuster accessory (no lvl, no price)"
	n_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<ret></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF>%9</nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<ret></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF><ret><offset hshift=281 vshift=36><img src=/material/ui/white.mat width=5 height=33 color=@@clr_sel@@>%9</nowrap>"
	s2_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<ret></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/owned.mat color=FFFFFFFF><ret><img src=/material/ui/button/gradient_border.mat><ret><offset hshift=284><img src=/material/ui/button/gradient_border.mat><ret><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF><ret><offset vshift=98><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF>%9</nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<ret></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/owned.mat color=FFFFFFFF><ret><img src=/material/ui/button/gradient_border.mat><ret><offset hshift=284><img src=/material/ui/button/gradient_border.mat><ret><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF><ret><offset vshift=98><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF>%9</nowrap>"
	d_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=-10 vshift=15><img src=/material/ui/company_manager/empty_slot.mat><ret><offset vshift=26 hshift=80><align vstyle=center><font face=/font/normal.font><color value=FFC7C7C7>@@available_at@@<color value=@@clr_sel@@> %7<color value=FFFFFFFF></align></font></nowrap>"
}

ui::button_template : btn.truck_acc {
	name:"Truck accessory (no level)"
	n_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<color value=FFFFFFFF><ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF><ret><offset hshift=243 vshift=36><img src=/material/ui/button/owned.mat color=%6FFFFFF>%9</nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<color value=FFFFFFFF><ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF><ret><offset hshift=243 vshift=36><img src=/material/ui/button/owned.mat color=%6FFFFFF><ret><offset hshift=281 vshift=36><img src=/material/ui/white.mat width=5 height=33 color=@@clr_sel@@>%9</nowrap>"
	s2_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<color value=FFFFFFFF><ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/cart.mat><ret><offset hshift=243 vshift=36><img src=/material/ui/button/owned.mat color=%6FFFFFF><ret><img src=/material/ui/button/gradient_border.mat><ret><offset hshift=284><img src=/material/ui/button/gradient_border.mat><ret><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF><ret><offset vshift=98><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF>%9</nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<color value=FFFFFFFF><ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/cart.mat><ret><offset hshift=243 vshift=36><img src=/material/ui/button/owned.mat color=%6FFFFFF><ret><img src=/material/ui/button/gradient_border.mat><ret><offset hshift=284><img src=/material/ui/button/gradient_border.mat><ret><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF><ret><offset vshift=98><img src=/material/ui/white.mat width=286 height=2 color=FF04AFFF>%9</nowrap>"
	d_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset hshift=-10 vshift=15><img src=/material/ui/company_manager/empty_slot.mat><ret><offset vshift=26 hshift=80><align vstyle=center><font face=/font/normal.font><color value=FFC7C7C7>@@available_at@@<color value=@@clr_sel@@> %7<color value=FFFFFFFF></align></font></nowrap>"
}

ui::button_template : btn.truck_accpr {
	name:"Truck accessory preview"
	n_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<color value=FFFFFFFF><ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=303 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF></nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<color value=FFFFFFFF><ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=303 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF></nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<color value=FFFFFFFF><ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=303 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF></nowrap>"
	d_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font xscale=0.9 yscale=0.9><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset hshift=12 vshift=4><font face=/font/normal.font><color value=FFC7C7C7>%1<color value=FFFFFFFF><ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=303 vshift=36><img src=/material/ui/button/new.mat color=%5FFFFFF></nowrap>"
}

ui::button_template : btn.truck_cart {
	name:"Truck cart"
	n_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset hshift=12 vshift=4><font face=/font/normal.font>%1<ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/sell.mat color=%8FFFFFF></nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset hshift=12 vshift=4><font face=/font/normal.font>%1<ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/sell.mat color=%8FFFFFF></nowrap>"
       s2_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset hshift=12 vshift=4><font face=/font/normal.font>%1<ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/sell.mat color=%8FFFFFF></nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/cart_bcg%0.mat xscale=repeat><ret><offset vshift=34><margin left=106 right=240><font face=/font/normal.font><color value=FFC7C7C7>%3<color value=FFFFFFFF></font></margin><ret><offset hshift=10 vshift=32><img src=/material/ui/accessory/%2><ret><offset hshift=12 vshift=4><font face=/font/normal.font>%1<ret><align vstyle=bottom hstyle=right right=-10 bottom=-7>%4</align></font><ret><offset hshift=243 vshift=36><img src=/material/ui/button/sell.mat color=%8FFFFFF></nowrap>"
}


ui::button_template : btn.truck_srvc {
	name:"Truck service"
	n_pml:"<color value=FF383838><img src=/material/ui/white.mat xscale=stretch height=19><ret><offset vshift=19><color value=FF000000><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><offset vshift=31 hshift=118><img src=/material/ui/gfx_pre_but_low.mat color=%0><ret><offset vshift=36><align hstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></align><ret><offset hshift=5 vshift=17><img src=/material/ui/button/%4 width=55 height=55><ret><offset hshift=11 vshift=1><font face=/font/normal.font><color value=@@clr_white@@>%3<color value=FFFFFFFF><ret><offset vshift=1><align hstyle=right right=-11 bottom=-7>%2</align></font><ret><offset hshift=259 vshift=28><img src=/material/ui/button/checkbox_low_1.mat>"
	s_pml:"<color value=FF383838><img src=/material/ui/white.mat xscale=stretch height=19><ret><offset vshift=19><color value=FF000000><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><offset vshift=31 hshift=118><img src=/material/ui/gfx_pre_but_low.mat color=%0><ret><offset vshift=36><align hstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></align><ret><offset hshift=5 vshift=17><img src=/material/ui/button/%4 width=55 height=55><ret><offset hshift=11 vshift=1><font face=/font/normal.font><color value=@@clr_white@@>%3<color value=FFFFFFFF><ret><offset vshift=1><align hstyle=right right=-11 bottom=-7>%2</align></font><ret><offset hshift=259 vshift=28><img src=/material/ui/button/checkbox_low_2.mat>"
       s2_pml:"<color value=FF383838><img src=/material/ui/white.mat xscale=stretch height=19><ret><offset vshift=19><color value=FF000000><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><offset vshift=31 hshift=118><img src=/material/ui/gfx_pre_but_low.mat color=%0><ret><offset vshift=36><align hstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></align><ret><offset hshift=5 vshift=17><img src=/material/ui/button/%4 width=55 height=55><ret><offset hshift=11 vshift=1><font face=/font/normal.font><color value=@@clr_white@@>%3<color value=FFFFFFFF><ret><offset vshift=1><align hstyle=right right=-11 bottom=-7>%2</align></font><ret><offset hshift=259 vshift=28><img src=/material/ui/button/checkbox_low_4.mat>"
	p_pml:"<color value=FF383838><img src=/material/ui/white.mat xscale=stretch height=19><ret><offset vshift=19><color value=FF000000><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><offset vshift=31 hshift=118><img src=/material/ui/gfx_pre_but_low.mat color=%0><ret><offset vshift=36><align hstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></align><ret><offset hshift=5 vshift=17><img src=/material/ui/button/%4 width=55 height=55><ret><offset hshift=11 vshift=1><font face=/font/normal.font><color value=@@clr_white@@>%3<color value=FFFFFFFF><ret><offset vshift=1><align hstyle=right right=-11 bottom=-7>%2</align></font><ret><offset hshift=259 vshift=28><img src=/material/ui/button/checkbox_low_3.mat>"
	d_pml:"<color value=FF383838><img src=/material/ui/white.mat xscale=stretch height=19><ret><offset vshift=19><color value=FF000000><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><offset vshift=31 hshift=118><img src=/material/ui/gfx_pre_but_low.mat color=%0><ret><offset vshift=36><align hstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></align><ret><offset hshift=5 vshift=17><img src=/material/ui/button/%4 width=55 height=55><ret><offset hshift=11 vshift=1><font face=/font/normal.font><color value=@@clr_white@@>%3<color value=FFFFFFFF><ret><offset vshift=1><align hstyle=right right=-11 bottom=-7>%2</align></font>"
	width: 300
	height: 67
}

ui::button_template : btn.truck_grp {
	name:"Truck accessory group"
	n_pml:"<img src=/material/ui/button/tconfig_bg1.mat><ret><img src=/material/ui/button/%0.mat>"
	s_pml:"<img src=/material/ui/button/tconfig_bg2.mat><ret><img src=/material/ui/button/%0.mat><ret><offset vshift=64 hshift=24><img src=/material/ui/button/tconfig_arrow.mat color=FF2B2B2B>"
       s2_pml:"<img src=/material/ui/button/tconfig_bg2.mat><ret><img src=/material/ui/button/%0.mat><ret><offset vshift=64 hshift=24><img src=/material/ui/button/tconfig_arrow.mat color=FF00AEFF>"
	p_pml:"<img src=/material/ui/button/tconfig_bg2.mat><ret><img src=/material/ui/button/%0.mat><ret><offset vshift=64 hshift=24><img src=/material/ui/button/tconfig_arrow.mat color=FF00AEFF>"
	d_pml:"<img src=/material/ui/button/tconfig_bg1.mat><ret><img src=/material/ui/button/%0.mat color=10FFFFFF>"
	width: 64
	height: 71
}

ui::button_template : btn.truck_chnl {
	name:"Truck paint channel"
	n_pml:"<color value=40101010><offset vshift=1><img src=/material/ui/white.mat height=62><ret><offset hshift=1><img src=/material/ui/white.mat width=62 height=64><ret><offset vshift=1 hshift=63><img src=/material/ui/white.mat height=62><ret><img src=/material/ui/button/color_channel.mat color=%0>"
	s_pml:"<color value=B2101010><offset vshift=1><img src=/material/ui/white.mat height=62><ret><offset hshift=1><img src=/material/ui/white.mat width=62 height=64><ret><offset vshift=1 hshift=63><img src=/material/ui/white.mat height=62><ret><color value=@@clr_sel@@><offset vshift=62><img src=/material/ui/white.mat width=64><ret><offset vshift=63 hshift=1><img src=/material/ui/white.mat width=62><ret><img src=/material/ui/button/color_channel.mat color=%0>"
       s2_pml:"<color value=B2101010><offset vshift=1><img src=/material/ui/white.mat height=62><ret><offset hshift=1><img src=/material/ui/white.mat width=62 height=64><ret><offset vshift=1 hshift=63><img src=/material/ui/white.mat height=62><ret><color value=@@clr_sel@@><offset vshift=62><img src=/material/ui/white.mat width=64><ret><offset vshift=63 hshift=1><img src=/material/ui/white.mat width=62><ret><offset hshift=25 vshift=64><img src=/material/ui/white.mat width=14><ret><offset hshift=26 vshift=65><img src=/material/ui/white.mat width=12><ret><offset hshift=27 vshift=66><img src=/material/ui/white.mat width=10><ret><offset hshift=28 vshift=67><img src=/material/ui/white.mat width=8><ret><offset hshift=29 vshift=68><img src=/material/ui/white.mat width=6><ret><offset hshift=30 vshift=69><img src=/material/ui/white.mat width=4><ret><offset hshift=31 vshift=70><img src=/material/ui/white.mat width=2><ret><img src=/material/ui/button/color_channel.mat color=%0>"
	p_pml:"<color value=B2101010><offset vshift=1><img src=/material/ui/white.mat height=62><ret><offset hshift=1><img src=/material/ui/white.mat width=62 height=64><ret><offset vshift=1 hshift=63><img src=/material/ui/white.mat height=62><ret><color value=@@clr_sel@@><offset vshift=62><img src=/material/ui/white.mat width=64><ret><offset vshift=63 hshift=1><img src=/material/ui/white.mat width=62><ret><offset hshift=25 vshift=64><img src=/material/ui/white.mat width=14><ret><offset hshift=26 vshift=65><img src=/material/ui/white.mat width=12><ret><offset hshift=27 vshift=66><img src=/material/ui/white.mat width=10><ret><offset hshift=28 vshift=67><img src=/material/ui/white.mat width=8><ret><offset hshift=29 vshift=68><img src=/material/ui/white.mat width=6><ret><offset hshift=30 vshift=69><img src=/material/ui/white.mat width=4><ret><offset hshift=31 vshift=70><img src=/material/ui/white.mat width=2><ret><img src=/material/ui/button/color_channel.mat color=%0>"
	d_pml:"<nowrap><color value=40101010><offset vshift=1><img src=/material/ui/white.mat height=62><ret><offset hshift=1><img src=/material/ui/white.mat width=62 height=64><ret><offset vshift=1 hshift=63><img src=/material/ui/white.mat height=62><ret><img src=/material/ui/button/color_channel.mat color=10FFFFFF><ret><offset hshift=-16 vshift=-16><img src=/material/ui/company_manager/empty_slot.mat color=FFFFFFFF></nowrap>"
	width: 64
	height: 71
}

ui::button_template : btn.truck_chnl_s {
	name:"Truck paint channel small"
	n_pml:"<nowrap><img src=/material/ui/button/clr_chnl_%0.mat color=%1 width=62 height=62></nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/clr_chnl_%0.mat color=%1 width=62 height=62><ret><img src=/material/ui/button/clr_chnl_sel.mat color=FFA0A0A0 width=62 height=62></nowrap>"
       s2_pml:"<nowrap><img src=/material/ui/button/clr_chnl_%0.mat color=%1 width=62 height=62><ret><img src=/material/ui/button/clr_chnl_sel.mat color=@@clr_sel@@ width=62 height=62></nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/clr_chnl_%0.mat color=%1 width=62 height=62><ret><img src=/material/ui/button/clr_chnl_sel.mat color=@@clr_sel@@ width=62 height=62></nowrap>"
	d_pml:"<nowrap><img src=/material/ui/button/clr_chnl_%0.mat color=10FFFFFF width=62 height=62><ret></nowrap>"
	width: 62
	height: 62
}

ui::button_template : btn.truck_cv4 {
	name:"Truck paint channel small 4x"
	n_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_2.mat color=%2 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_3.mat color=%3 width=62 height=62></nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_2.mat color=%2 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_3.mat color=%3 width=62 height=62><ret><color value=@@clr_sel@@><img src=/material/ui/button/clr_chnl_sel.mat right=p30 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 right=p32 width=190 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 height=62></nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_2.mat color=%2 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_3.mat color=%3 width=62 height=62><ret><color value=@@clr_sel@@><img src=/material/ui/button/clr_chnl_sel.mat right=p30 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 right=p32 width=190 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 height=62></nowrap>"
	width: 254
	height: 62
}
ui::button_template : btn.truck_cv3 {
	name:"Truck paint channel small 3x"
	n_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_2.mat color=%2 width=62 height=62></nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_2.mat color=%2 width=62 height=62><ret><color value=@@clr_sel@@><img src=/material/ui/button/clr_chnl_sel.mat right=p30 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 right=p32 width=190 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 height=62></nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_2.mat color=%2 width=62 height=62><ret><color value=@@clr_sel@@><img src=/material/ui/button/clr_chnl_sel.mat right=p30 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 right=p32 width=190 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 height=62></nowrap>"
	width: 254
	height: 62
}
ui::button_template : btn.truck_cv2 {
	name:"Truck paint channel small 2x"
	n_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62></nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62><ret><color value=@@clr_sel@@><img src=/material/ui/button/clr_chnl_sel.mat right=p30 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 right=p32 width=190 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 height=62></nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><offset hshift=2><img src=/material/ui/button/clr_chnl_1.mat color=%1 width=62 height=62><ret><color value=@@clr_sel@@><img src=/material/ui/button/clr_chnl_sel.mat right=p30 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 right=p32 width=190 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 height=62></nowrap>"
	width: 254
	height: 62
}
ui::button_template : btn.truck_cv1 {
	name:"Truck paint channel small 1x"
	n_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62></nowrap>"
	s_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><ret><color value=@@clr_sel@@><img src=/material/ui/button/clr_chnl_sel.mat right=p30 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 right=p32 width=190 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 height=62></nowrap>"
	p_pml:"<nowrap><img src=/material/ui/button/clr_chnl_0.mat color=%0 width=62 height=62><ret><color value=@@clr_sel@@><img src=/material/ui/button/clr_chnl_sel.mat right=p30 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 right=p32 width=190 height=62><img src=/material/ui/button/clr_chnl_sel.mat left=p30 height=62></nowrap>"
	width: 254
	height: 62
}


ui::button_template : btn.truck_sw {
	name:"Truck config switch"
	n_pml:"<img src=/material/ui/button/tconfig_small_bg1.mat left=p6 right=p58 top=p6><ret><img src=/material/ui/button/%0.mat left=p3 right=p53 top=p3>"
	s_pml:"<img src=/material/ui/button/tconfig_small_bg2.mat left=p6 right=p58 top=p6><ret><img src=/material/ui/button/%0.mat left=p3 right=p53 top=p3>"
	s2_pml:"<img src=/material/ui/button/tconfig_small_bg2.mat left=p6 right=p58 top=p6><ret><img src=/material/ui/button/%0.mat left=p67 right=p117 top=p3>"
	p_pml:"<img src=/material/ui/button/tconfig_small_bg1.mat left=p6 right=p58 top=p6><ret><img src=/material/ui/button/%0.mat left=p67 right=p117 top=p3>"
	width: 52
	height: 52
}

ui::button_template : btn.truck_sw.large {
	name:"Truck config switch large"
	n_pml:"<img src=/material/ui/button/tconfig_bg1.mat><ret><img src=/material/ui/button/%0.mat left=p0 right=p63 top=p0>"
	s_pml:"<img src=/material/ui/button/tconfig_bg2.mat><ret><img src=/material/ui/button/%0.mat left=p0 right=p63 top=p0>"
	s2_pml:"<img src=/material/ui/button/tconfig_bg2.mat><ret><img src=/material/ui/button/%0.mat left=p64 right=p127 top=p0>"
	p_pml:"<img src=/material/ui/button/tconfig_bg2.mat><ret><img src=/material/ui/button/%0.mat left=p64 right=p127 top=p0>"
	width: 64
	height: 64
}

// custom truck accessory pins

ui::button_template : btn.custom_acc {
	name:"Custom Truck accessory"
	n_pml:"<img src=/material/ui/button/acc.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	s2_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.custom_acc.empty {
	name:"Custom Truck accessory"
	n_pml:"<img src=/material/ui/button/acc_empty.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	s2_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.custom_accn {
	name:"Custom Truck new accessory"
	n_pml:"<img src=/material/ui/button/acc.mat color=%0FFFFFF xscale=stretch yscale=stretch><ret><img src=/video/acc_new_item.mat right=p32 bottom=p32 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	s2_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
}
ui::button_template : btn.custom_accs {
	name:"Custom Truck new accessory static"
	n_pml:"<img src=/material/ui/button/acc_star.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	s2_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_s.mat color=%0FFFFFF xscale=stretch yscale=stretch>"
}

// custom truck hub cover accessory pins

ui::button_template : btn.acc_cover {
	name:"Custom Truck cover"
	n_pml:"<img src=/material/ui/button/acc_cover.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s2_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.acc_cover.empty {
	name:"Custom Truck cover"
	n_pml:"<img src=/material/ui/button/acc_cover_empty.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_cover_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s2_pml:"<img src=/material/ui/button/acc_cover_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_cover_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.acc_covern {
	name:"Custom Truck new cover"
	n_pml:"<img src=/material/ui/button/acc_cover.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s2_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}
ui::button_template : btn.acc_covers {
	name:"Custom Truck new cover static"
	n_pml:"<img src=/material/ui/button/acc_cover.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s2_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_cover.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

// custom truck hub accessory pins

ui::button_template : btn.acc_hub {
	name:"Custom Truck hub"
	n_pml:"<img src=/material/ui/button/acc_hub.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.acc_hub.empty {
	name:"Custom Truck hub"
	n_pml:"<img src=/material/ui/button/acc_hub_empty.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_hub_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/acc_hub_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_hub_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.acc_hubn {
	name:"Custom Truck new hub"
	n_pml:"<img src=/material/ui/button/acc_hub.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}
ui::button_template : btn.acc_hubs {
	name:"Custom Truck new hub static"
	n_pml:"<img src=/material/ui/button/acc_hub.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_hub.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

// custom truck nuts accessory pins

ui::button_template : btn.acc_nuts {
	name:"Custom Truck nuts"
	n_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.acc_nuts.empty {
	name:"Custom Truck nuts"
	n_pml:"<img src=/material/ui/button/acc_nuts_empty.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_nuts_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/acc_nuts_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_nuts_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.acc_nutsn {
	name:"Custom Truck new nuts"
	n_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.acc_nutss {
	name:"Custom Truck new nuts static"
	n_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/acc_nuts.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

// custom truck hookup pins

ui::button_template : btn.custom_hook {
	name:"Custom Truck hookup"
	n_pml:"<img src=/material/ui/button/hookup.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/hookup.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/hookup.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/hookup.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.custom_hook.empty {
	name:"Custom Truck hookup"
	n_pml:"<img src=/material/ui/button/hookup_empty.mat left=0.0 right=0.5 color=%0FFFFFF xscale=stretch yscale=stretch>"
	s_pml:"<img src=/material/ui/button/hookup_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
    s2_pml:"<img src=/material/ui/button/hookup_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
	p_pml:"<img src=/material/ui/button/hookup_empty.mat left=0.5 right=1.0 color=%0FFFFFF xscale=stretch yscale=stretch>"
}

ui::button_template : btn.remove_acc {
	name: "Remove acc item"
	n_pml:"<offset vshift=-8><align hstyle=center><img src=/material/ui/tooltip/arrow_s_h.mat><br><img src=/material/ui/tooltip/corner_s.mat><img src=/material/ui/tooltip/corner_s.mat left=p4 right=p8 width=-16><img src=/material/ui/tooltip/corner_s.mat left=1 right=0><br><img src=/material/ui/tooltip/corner_s.mat left=p6 width=-10 height=-16><img src=/material/ui/tooltip/corner_s.mat left=p6 height=-16><br><img src=/material/ui/tooltip/corner_s.mat top=1 bottom=0><img src=/material/ui/tooltip/corner_s.mat left=p4 right=p8 width=-16><img src=/material/ui/tooltip/corner_s.mat left=1 right=0 top=1 bottom=0></align><ret><offset vshift=11><align hstyle=center vstyle=center><img src=/material/ui/button/remove.mat left=0 right=0.5></align>"
	s_pml:"<offset vshift=-8><align hstyle=center><img src=/material/ui/tooltip/arrow_s_h.mat><br><img src=/material/ui/tooltip/corner_s.mat><img src=/material/ui/tooltip/corner_s.mat left=p4 right=p8 width=-16><img src=/material/ui/tooltip/corner_s.mat left=1 right=0><br><img src=/material/ui/tooltip/corner_s.mat left=p6 width=-10 height=-16><img src=/material/ui/tooltip/corner_s.mat left=p6 height=-16><br><img src=/material/ui/tooltip/corner_s.mat top=1 bottom=0><img src=/material/ui/tooltip/corner_s.mat left=p4 right=p8 width=-16><img src=/material/ui/tooltip/corner_s.mat left=1 right=0 top=1 bottom=0></align><ret><offset vshift=11><align hstyle=center vstyle=center><img src=/material/ui/button/remove.mat left=0.5 right=1></align>"
	p_pml:"<offset vshift=-8><align hstyle=center><img src=/material/ui/tooltip/arrow_s_h.mat><br><img src=/material/ui/tooltip/corner_s.mat><img src=/material/ui/tooltip/corner_s.mat left=p4 right=p8 width=-16><img src=/material/ui/tooltip/corner_s.mat left=1 right=0><br><img src=/material/ui/tooltip/corner_s.mat left=p6 width=-10 height=-16><img src=/material/ui/tooltip/corner_s.mat left=p6 height=-16><br><img src=/material/ui/tooltip/corner_s.mat top=1 bottom=0><img src=/material/ui/tooltip/corner_s.mat left=p4 right=p8 width=-16><img src=/material/ui/tooltip/corner_s.mat left=1 right=0 top=1 bottom=0></align><ret><offset vshift=13 hshift=2><align hstyle=center vstyle=center><img src=/material/ui/button/remove.mat left=0 right=0.5></align>"

	width: 46
	height: 57
}

ui::button_template : btn.profile_sel {
	name: "Profile selection"
	n_pml: "<img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=78><img src=/material/ui/button/profile1.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=303><img src=/material/ui/button/profile1.mat left=1 right=0>
<ret><offset hshift=7 vshift=7><img src=%0.mat>
<ret><offset vshift=17><margin left=129 right=433><font face=/font/big.font><color value=@@clr_sel@@>%1</font>
<br text offset=25><color value=@@clr_txt@@><font face=/font/normal.font>%2 (@@profile_level@@ %3)
<br text><color value=@@clr_txt@@>@@profile_distance@@ %4</font></margin>
<ret><offset hshift=380 vshift=0>%5
<ret><offset hshift=380 vshift=40>%6"
	s_pml: "<img src=/material/ui/button/profile0.mat><img src=/material/ui/button/profile0.mat left=p16 width=78><img src=/material/ui/button/profile0.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/profile0.mat><img src=/material/ui/button/profile0.mat left=p16 width=303><img src=/material/ui/button/profile0.mat left=1 right=0>
<ret><offset hshift=7 vshift=7><img src=%0.mat>
<ret><offset vshift=17><margin left=129 right=433><font face=/font/big.font><color value=@@clr_sel@@>%1</font>
<br text offset=25><color value=@@clr_txt@@><font face=/font/normal.font>%2 (@@profile_level@@ %3)
<br text><color value=@@clr_txt@@>@@profile_distance@@ %4</font></margin><ret><offset hshift=367 vshift=22>
<ret><offset hshift=380 vshift=0>%5
<ret><offset hshift=380 vshift=40>%6"
	p_pml: "<img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=78><img src=/material/ui/button/profile2.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=303><img src=/material/ui/button/profile2.mat left=1 right=0>
<ret><offset hshift=7 vshift=7><img src=%0.mat>
<ret><offset vshift=17><margin left=129 right=433><font face=/font/big.font><color value=@@clr_sel@@>%1</font>
<br text offset=25><color value=@@clr_txt@@><font face=/font/normal.font>%2 (@@profile_level@@ %3)
<br text><color value=@@clr_txt@@>@@profile_distance@@ %4</font></margin><ret><offset hshift=367 vshift=22>
<ret><offset hshift=380 vshift=0>%5
<ret><offset hshift=380 vshift=40>%6"
	d_pml: "<img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=78><img src=/material/ui/button/profile1.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=303><img src=/material/ui/button/profile1.mat left=1 right=0>
<ret><offset hshift=7 vshift=7><img src=%0.mat>
<ret><offset vshift=17><margin left=129 right=433><font face=/font/big.font><color value=@@clr_sel@@>%1</font>
<br text offset=25><color value=@@clr_txt@@><font face=/font/normal.font>%2 (@@profile_level@@ %3)
<br text><color value=@@clr_txt@@>@@profile_distance@@ %4</font></margin><ret><offset hshift=367 vshift=22>%5<ret><img src=/material/ui/white.mat color=F5000000 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><color><font face=/font/big.font>@@incompatible_profile_upgrade@@</font></align>"

	width: 448
	height:110
}
ui::button_template : btn.profile_e {
	name: "Profile edit"
	n_pml: "<img src=/material/ui/button/edit_profile_n.mat>"
	s_pml: "<img src=/material/ui/button/edit_profile_s.mat>"
	p_pml: "<img src=/material/ui/button/edit_profile_n.mat>"
}

ui::button_template : btn.news_dot {
	name: "News dot"
	n_pml: "<align hstyle=center vstyle=center><color value=FF808080><img src=/material/ui/button/dot.mat></align>"
	s_pml: "<align hstyle=center vstyle=center><color value=@@clr_txt@@><img src=/material/ui/button/dot.mat color></align>"
	p_pml: "<align hstyle=center vstyle=center><color value=@@clr_sel@@><img src=/material/ui/button/dot.mat></align>"
}

ui::button_template : btn.face_sel.drop {
	name: "Face selection dropdown"
	n_pml: "<nowrap><img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=78><img src=/material/ui/button/profile1.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0><ret><offset hshift=123 vshift=78><img src=/material/ui/button/btn_listbox_dark.mat right=p45></nowrap>"
	s_pml: "<nowrap><img src=/material/ui/button/profile0.mat><img src=/material/ui/button/profile0.mat left=p16 width=78><img src=/material/ui/button/profile0.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0><ret><offset hshift=123 vshift=78><img src=/material/ui/button/btn_listbox_light.mat right=p45></nowrap>"
	p_pml: "<nowrap><img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=78><img src=/material/ui/button/profile2.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0><ret><offset hshift=123 vshift=78><img src=/material/ui/button/btn_listbox_yellow.mat right=p45></nowrap>"
	width: 168
	height:112
}

ui::button_template : btn.face_sel {
	name: "Face selection"
	n_pml: "<nowrap><img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=78><img src=/material/ui/button/profile1.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0></nowrap>"
	s_pml: "<nowrap><img src=/material/ui/button/profile0.mat><img src=/material/ui/button/profile0.mat left=p16 width=78><img src=/material/ui/button/profile0.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0></nowrap>"
	p_pml: "<nowrap><img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=78><img src=/material/ui/button/profile2.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0></nowrap>"
	width: 112
	height:112
}

ui::button_template : btn.brand_sel.drop {
	name: "brand selection dropdown"
	n_pml: "<nowrap><img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=78><img src=/material/ui/button/profile1.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0><ret><offset hshift=123 vshift=78><img src=/material/ui/button/btn_listbox_dark.mat right=p45></nowrap>"
	s_pml: "<nowrap><img src=/material/ui/button/profile0.mat><img src=/material/ui/button/profile0.mat left=p16 width=78><img src=/material/ui/button/profile0.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0><ret><offset hshift=123 vshift=78><img src=/material/ui/button/btn_listbox_light.mat right=p45></nowrap>"
	p_pml: "<nowrap><img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=78><img src=/material/ui/button/profile2.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0><ret><offset hshift=123 vshift=78><img src=/material/ui/button/btn_listbox_yellow.mat right=p45></nowrap>"
	d_pml: "<nowrap><img src=/material/ui/button/profile3.mat><img src=/material/ui/button/profile3.mat left=p16 width=78><img src=/material/ui/button/profile3.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0></nowrap>"
	width: 168
	height:112
}

ui::button_template : btn.brand_sel {
	name: "brand selection"
	n_pml: "<nowrap><img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=78><img src=/material/ui/button/profile1.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0></nowrap>"
	s_pml: "<nowrap><img src=/material/ui/button/profile0.mat><img src=/material/ui/button/profile0.mat left=p16 width=78><img src=/material/ui/button/profile0.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0></nowrap>"
	p_pml: "<nowrap><img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=78><img src=/material/ui/button/profile2.mat left=1 right=0><ret><offset hshift=7 vshift=7><img src=%0></nowrap>"
	width: 112
	height:112
}

ui::button_template : btn.brand_logo {
	name: "Brand logo"
	n_pml: "<img src=/material/ui/brand_logo/bg.mat left=p2 right=p127 top=p2 bottom=p62 height=60><ret><offset hshift=-2 vshift=3><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"
	s_pml: "<img src=/material/ui/brand_logo/bg.mat left=p129 right=p254 top=p2 bottom=p62 height=60><ret><offset hshift=-2 vshift=3><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"
	p_pml: "<img src=/material/ui/brand_logo/bg.mat left=p256 right=p381 top=p2 bottom=p62 height=60><ret><offset hshift=-2 vshift=3><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"

	width: 125
	height: 60
}

ui::button_template : btn.brand_top {
	name: "Brand top"
	n_pml: "<img src=/material/ui/filter_button/bg_black.mat left=0 right=1 bottom=p25 xscale=stretch width=125 height=25><ret><offset vshift=34><img src=/material/ui/brand_logo/bg.mat top=p2 bottom=p62 left=p2 right=p127 height=60><ret><offset vshift=34><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"
	s_pml: "<img src=/material/ui/filter_button/bg_grey.mat left=0 right=1 bottom=p25 xscale=stretch width=125 height=25><ret><offset vshift=34><img src=/material/ui/brand_logo/bg.mat top=p2 bottom=p62 left=p129 right=p254 height=60><ret><offset vshift=34><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"
	p_pml: "<img src=/material/ui/filter_button/bg_black.mat left=0 right=1 bottom=p25 xscale=stretch width=125 height=25><ret><offset vshift=34><img src=/material/ui/brand_logo/bg.mat top=p2 bottom=p62 left=p256 right=p381 height=60><ret><offset vshift=34><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"

	width: 125
	height: 94
}

ui::button_template : btn.brand_big {
	name: "Brand button big"

	n_pml: "<img src=/material/ui/brand_logo/bcg_large_n.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/%0.mat></align>"
	s_pml: "<img src=/material/ui/brand_logo/bcg_large_p.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/%0.mat></align>"
	p_pml: "<img src=/material/ui/brand_logo/bcg_large_p.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/%0.mat></align>"
	d_pml: "<color value=40FFFFFF><img src=/material/ui/brand_logo/bcg_large_n.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/%0.mat></align>"

	width: 200
	height: 72
}


ui::button_template : btn.tr_brand.small {
	name: "Trailer brand small button"

	n_pml: "<img src=/material/ui/brand_logo/bcg_medium_n.mat><ret><align hstyle=center vstyle=center><offset hshift=-2><img src=/material/ui/trailer_brand_logo/%0.mat></align>"
	s_pml: "<img src=/material/ui/brand_logo/bcg_medium_p.mat><ret><align hstyle=center vstyle=center><offset hshift=-2><img src=/material/ui/trailer_brand_logo/%0.mat></align>"
	p_pml: "<img src=/material/ui/brand_logo/bcg_medium_p.mat><ret><align hstyle=center vstyle=center><offset hshift=-2><img src=/material/ui/trailer_brand_logo/%0.mat></align>"
	d_pml: "<color value=40FFFFFF><img src=/material/ui/brand_logo/bcg_medium_n.mat><ret><align hstyle=center vstyle=center><offset hshift=-2><img src=/material/ui/trailer_brand_logo/%0.mat></align>"

	width: 122
	height: 59
}

ui::button_template : btn.tk_brand.small {
	name: "Truck brand small button"

	n_pml: "<img src=/material/ui/brand_logo/bcg_medium_n.mat><ret><align hstyle=center vstyle=center><offset hshift=-2><img src=/material/ui/brand_logo/%0.mat width=122 height=60></align>"
	s_pml: "<img src=/material/ui/brand_logo/bcg_medium_p.mat><ret><align hstyle=center vstyle=center><offset hshift=-2><img src=/material/ui/brand_logo/%0.mat width=122 height=60></align>"
	p_pml: "<img src=/material/ui/brand_logo/bcg_medium_p.mat><ret><align hstyle=center vstyle=center><offset hshift=-2><img src=/material/ui/brand_logo/%0.mat width=122 height=60></align>"
	d_pml: "<color value=40FFFFFF><img src=/material/ui/brand_logo/bcg_medium_n.mat><ret><align hstyle=center vstyle=center><offset hshift=-2><img src=/material/ui/brand_logo/%0.mat width=122 height=60></align>"

	width: 122
	height: 59
}

ui::button_template : btn.cargo_top {
	name: "Cargo top"
	n_pml: "<img src=/material/ui/filter_button/bg_black.mat left=0 right=1 bottom=p25 xscale=stretch width=125 height=25><ret><offset vshift=34><img src=/material/ui/cargo_logo/bg-all.mat top=p2 bottom=p62 left=p2 right=p127 width=125 height=60><ret><offset vshift=34><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/%0.mat></align>"
	s_pml: "<img src=/material/ui/filter_button/bg_grey.mat left=0 right=1 bottom=p25 xscale=stretch width=125 height=25><ret><offset vshift=34><img src=/material/ui/cargo_logo/bg-all.mat top=p2 bottom=p62 left=p129 right=p254 width=125 height=60><ret><offset vshift=34><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/%0.mat></align>"
	p_pml: "<img src=/material/ui/filter_button/bg_black.mat left=0 right=1 bottom=p25 xscale=stretch width=125 height=25><ret><offset vshift=34><img src=/material/ui/cargo_logo/bg-all.mat top=p2 bottom=p62 left=p256 right=p381 width=125 height=60><ret><offset vshift=34><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/white/%0.mat></align>"

	width: 125
	height: 94
}

ui::button_template : btn.cargo_logo {
	name: "Cargo logo"
	n_pml: "<img src=/material/ui/cargo_logo/bg_cargo_group.mat left=p2 right=p62 top=p2 bottom=p62><ret><offset hshift=-2><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/%0.mat></align>"
	s_pml: "<img src=/material/ui/cargo_logo/bg_cargo_group.mat left=p64 right=p124 top=p2 bottom=p62><ret><offset hshift=-2><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/%0.mat></align>"
	p_pml: "<img src=/material/ui/cargo_logo/bg_cargo_group.mat left=p126 right=p186 top=p2 bottom=p62><ret><offset hshift=-2><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/white/%0.mat></align>"

	width: 60
	height: 60
}

ui::button_template : btn.cargo_logo.job_type {
	name: "Job type logo"
	n_pml: "<img src=/material/ui/cargo_logo/bg.mat left=p0 right=p39><ret><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/%0.mat></align>"
	s_pml: "<img src=/material/ui/cargo_logo/bg.mat left=p41 right=p80><ret><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/%0.mat></align>"
	p_pml: "<img src=/material/ui/cargo_logo/bg.mat left=p82 right=p121><ret><align hstyle=center vstyle=center><img src=/material/ui/cargo_logo/white/%0.mat></align>"

	width: 39
	height: 32
}

ui::button_template : btn.filter_arrow {
	name: "Filter arrow"
	n_pml: "<img src=/material/ui/filter_button/bg_black.mat left=1 right=0><img src=/material/ui/filter_button/bg_black.mat right=0 width=-8><img src=/material/ui/filter_button/bg_black.mat><ret>
	<align hstyle=center vstyle=center><img src=/material/ui/filter_button/sipka.mat></align>"
	s_pml: "<img src=/material/ui/filter_button/bg_grey.mat left=1 right=0><img src=/material/ui/filter_button/bg_grey.mat right=0 width=-8><img src=/material/ui/filter_button/bg_grey.mat><ret>
	<align hstyle=center vstyle=center><img src=/material/ui/filter_button/sipka.mat></align>"
	p_pml: "<img src=/material/ui/filter_button/bg_yellow.mat left=1 right=0><img src=/material/ui/filter_button/bg_yellow.mat right=0 width=-8><img src=/material/ui/filter_button/bg_yellow.mat><ret>
	<align hstyle=center vstyle=center><img src=/material/ui/filter_button/sipka.mat></align>"

	width: 125
	height: 32
}

ui::button_template : btn.reset_filter {
	name: "Reset filter"
	n_pml: "<img src=/material/ui/filter_button/bg_black.mat left=1 right=0 bottom=p25><img src=/material/ui/filter_button/bg_black.mat right=0 width=-8><img src=/material/ui/filter_button/bg_black.mat left=0 right=1><ret>
	<align hstyle=center vstyle=center><img src=/material/ui/filter_button/filtr.mat></align>"
	s_pml: "<img src=/material/ui/filter_button/bg_grey.mat left=0 right=1 bottom=p25><img src=/material/ui/filter_button/bg_grey.mat right=0 width=-8><img src=/material/ui/filter_button/bg_grey.mat><ret>
	<align hstyle=center vstyle=center><img src=/material/ui/filter_button/filtr.mat></align>"
	p_pml: "<img src=/material/ui/filter_button/bg_yellow.mat left=0 right=1 bottom=p25><img src=/material/ui/filter_button/bg_yellow.mat right=0 width=-8><img src=/material/ui/filter_button/bg_yellow.mat><ret>
	<align hstyle=center vstyle=center><img src=/material/ui/filter_button/filtr.mat></align>"
	width: 125
	height: 25
}

ui::button_template : btn.job_search.reset
{
	name: "Job search field reset button"
	n_pml: "<img src=/material/ui/truck_config/accessory_filters_normal.mat color=C0FFFFFF xscale=stretch yscale=stretch>"
	s_pml: "<img src=/material/ui/truck_config/accessory_filters_normal.mat color=FFFFFFFF xscale=stretch yscale=stretch>"
	p_pml: "<img src=/material/ui/truck_config/accessory_filters_active.mat xscale=stretch yscale=stretch>"
	d_pml: "<img src=/material/ui/truck_config/accessory_filters_normal.mat color=40FFFFFF xscale=stretch yscale=stretch>"

	width: 25
	height: 25
}


ui::button_template : btn.job_offer {
	name: "Job offer"
	n_pml: "<img src=/material/ui/button/job_l_0.mat><img src=/material/ui/button/job_l_0.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_0.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_r_0.mat><img src=/material/ui/button/job_r_0.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_r_0.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br offset=37>%3<color value=FF8b8b8b><br offset=2>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><img src=/material/ui/company/small/%5.mat width=116 height=29><ret><offset hshift=510 vshift=8><img src=/material/ui/company/small/%6.mat width=116 height=29></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret>
<offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%7<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%8</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%D.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%E.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85>"
	s_pml: "<img src=/material/ui/button/job_l_2.mat><img src=/material/ui/button/job_l_2.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_2.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_r_2.mat><img src=/material/ui/button/job_r_2.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_r_2.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br offset=37>%3<color value=FF8b8b8b><br offset=2>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><img src=/material/ui/company/small/%5.mat width=116 height=29><ret><offset hshift=510 vshift=8><img src=/material/ui/company/small/%6.mat width=116 height=29></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret>
<offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%7<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%8</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%D.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%E.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85>"
	p_pml: "<img src=/material/ui/button/job_l_1.mat><img src=/material/ui/button/job_l_1.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_1.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_r_1.mat><img src=/material/ui/button/job_r_1.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_r_1.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br offset=37>%3<color value=FF8b8b8b><br offset=2>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><img src=/material/ui/company/small/%5.mat width=116 height=29><ret><offset hshift=510 vshift=8><img src=/material/ui/company/small/%6.mat width=116 height=29></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret>
<offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%7<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%8</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%D.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%E.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85>"

	width: 618
	height:112
}


ui::button_template : btn.spec_offer {
	name: "Special offer"
	n_pml: "<img src=/material/ui/button/job_l_0.mat><img src=/material/ui/button/job_l_0.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_0.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_sp_r_0.mat><img src=/material/ui/button/job_r_0.mat left=p16 right=p16 width=429><img src=/material/ui/button/job_r_0.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br><offset vshift=37 hshift=16>%3<color value=FF8b8b8b><br><offset vshift=2 hshift=16>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><ret><offset hshift=510 vshift=8></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret><offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%5<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%6</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%7.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%8.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85>"
	s_pml: "<img src=/material/ui/button/job_l_2.mat><img src=/material/ui/button/job_l_2.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_2.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_sp_r_2.mat><img src=/material/ui/button/job_r_2.mat left=p16 right=p16 width=429><img src=/material/ui/button/job_r_2.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br><offset vshift=37 hshift=16>%3<color value=FF8b8b8b><br><offset vshift=2 hshift=16>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><ret><offset hshift=510 vshift=8></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret><offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%5<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%6</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%7.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%8.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85>"
	p_pml: "<img src=/material/ui/button/job_l_1.mat><img src=/material/ui/button/job_l_1.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_1.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_sp_r_1.mat><img src=/material/ui/button/job_r_1.mat left=p16 right=p16 width=429><img src=/material/ui/button/job_r_1.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br><offset vshift=37 hshift=16>%3<color value=FF8b8b8b><br><offset vshift=2 hshift=16>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><ret><offset hshift=510 vshift=8></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret><offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%5<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%6</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%7.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%8.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85>"

	width: 618
	height:112
}

ui::button_template : btn.spec_offer_g {
	name: "Special GPS offer"
	n_pml: "<img src=/material/ui/button/job_l_0.mat><img src=/material/ui/button/job_l_0.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_0.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_sp_r_0.mat><img src=/material/ui/button/job_r_0.mat left=p16 right=p16 width=429><img src=/material/ui/button/job_r_0.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br><offset vshift=37 hshift=16>%3<color value=FF8b8b8b><br><offset vshift=2 hshift=16>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><ret><offset hshift=510 vshift=8></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret><offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%5<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%6</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%7.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%8.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><ret><offset hshift=102 vshift=76><img src=/material/ui/button/job_gps_n.mat>"
	s_pml: "<img src=/material/ui/button/job_l_2.mat><img src=/material/ui/button/job_l_2.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_2.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_sp_r_2.mat><img src=/material/ui/button/job_r_2.mat left=p16 right=p16 width=429><img src=/material/ui/button/job_r_2.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br><offset vshift=37 hshift=16>%3<color value=FF8b8b8b><br><offset vshift=2 hshift=16>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><ret><offset hshift=510 vshift=8></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret><offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%5<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%6</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%7.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%8.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><ret><offset hshift=102 vshift=76><img src=/material/ui/button/job_gps_n.mat>"
	p_pml: "<img src=/material/ui/button/job_l_1.mat><img src=/material/ui/button/job_l_1.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_1.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_sp_r_1.mat><img src=/material/ui/button/job_r_1.mat left=p16 right=p16 width=429><img src=/material/ui/button/job_r_1.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br><offset vshift=37 hshift=16>%3<color value=FF8b8b8b><br><offset vshift=2 hshift=16>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><ret><offset hshift=510 vshift=8></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret><offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%5<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%6</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%7.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%8.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><ret><offset hshift=102 vshift=76><img src=/material/ui/button/job_gps_p.mat>"

	width: 618
	height:112
}

ui::button_template : btn.line_offer {
	name: "Line offer"
	n_pml: "<img src=/material/ui/button/job_l_0.mat><img src=/material/ui/button/job_l_0.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_0.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_lr_0.mat><img src=/material/ui/button/job_lr_0.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_lr_0.mat left=1 right=0><ret><offset vshift=10><font face=/font/normal.font><color value=@@clr_txt@@><margin left=155><align hstyle=center>%0<br>%1</align></margin><ret><offset vshift=50><margin left=255 right=518><align hstyle=left>Stops<br>Arrival<br>Link expires in</align></margin><ret><offset vshift=50><margin left=255 right=518><align hstyle=right>%2<br>%3<br>%4</align></margin></font>"
	s_pml: "<img src=/material/ui/button/job_l_2.mat><img src=/material/ui/button/job_l_2.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_2.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_lr_2.mat><img src=/material/ui/button/job_lr_2.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_lr_2.mat left=1 right=0><ret><offset vshift=10><font face=/font/normal.font><color value=@@clr_txt@@><margin left=155><align hstyle=center>%0<br>%1</align></margin><ret><offset vshift=50><margin left=255 right=518><align hstyle=left>Stops<br>Arrival<br>Link expires in</align></margin><ret><offset vshift=50><margin left=255 right=518><align hstyle=right>%2<br>%3<br>%4</align></margin></font>"
	p_pml: "<img src=/material/ui/button/job_l_1.mat><img src=/material/ui/button/job_l_1.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_1.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_lr_1.mat><img src=/material/ui/button/job_lr_1.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_lr_1.mat left=1 right=0><ret><offset vshift=10><font face=/font/normal.font><color value=@@clr_txt@@><margin left=155><align hstyle=center>%0<br>%1</align></margin><ret><offset vshift=50><margin left=255 right=518><align hstyle=left>Stops<br>Arrival<br>Link expires in</align></margin><ret><offset vshift=50><margin left=255 right=518><align hstyle=right>%2<br>%3<br>%4</align></margin></font>"


	width: 618
	height:112
}

ui::button_template : btn.job_gps {
	name: "Job offer set on GPS"
	n_pml: "<img src=/material/ui/button/job_l_0.mat><img src=/material/ui/button/job_l_0.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_0.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_r_0.mat><img src=/material/ui/button/job_r_0.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_r_0.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br offset=37>%3<color value=FF8b8b8b><br offset=2>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><img src=/material/ui/company/small/%5.mat width=116 height=29><ret><offset hshift=510 vshift=8><img src=/material/ui/company/small/%6.mat width=116 height=29></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret>
<offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%7<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%8</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%D.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%E.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><ret><offset hshift=102 vshift=76><img src=/material/ui/button/job_gps_n.mat>"
	s_pml: "<img src=/material/ui/button/job_l_2.mat><img src=/material/ui/button/job_l_2.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_2.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_r_2.mat><img src=/material/ui/button/job_r_2.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_r_2.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br offset=37>%3<color value=FF8b8b8b><br offset=2>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><img src=/material/ui/company/small/%5.mat width=116 height=29><ret><offset hshift=510 vshift=8><img src=/material/ui/company/small/%6.mat width=116 height=29></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret>
<offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%7<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%8</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%D.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%E.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><ret><offset hshift=102 vshift=76><img src=/material/ui/button/job_gps_n.mat>"
	p_pml: "<img src=/material/ui/button/job_l_1.mat><img src=/material/ui/button/job_l_1.mat left=p16 right=p16 width=106><img src=/material/ui/button/job_l_1.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/job_r_1.mat><img src=/material/ui/button/job_r_1.mat left=p16 right=p16 width=445><img src=/material/ui/button/job_r_1.mat left=1 right=0><ret><margin left=156 right=-16><offset vshift=12><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%0</align><color value=FF8b8b8b><font face=/font/small.font><br offset=37>%3<color value=FF8b8b8b><br offset=2>%4</font></margin><ret><offset hshift=375 vshift=40><img src=/material/ui/icon/arrow.mat><ret><offset vshift=35><align hstyle=right right=-250>%1</align><ret><offset hshift=390 vshift=35>%2</font><ret><color value=FFFFFFFF><nowrap><offset hshift=156 vshift=8><img src=/material/ui/company/small/%5.mat width=116 height=29><ret><offset hshift=510 vshift=8><img src=/material/ui/company/small/%6.mat width=116 height=29></nowrap><ret><color value=C0000000><offset hshift=418 vshift=63><img src=/material/ui/white.mat height=38><offset vshift=-1><img src=/material/ui/white.mat height=40 width=86><offset vshift=1><img src=/material/ui/white.mat height=38><ret>
<offset hshift=356 vshift=66><margin right=-50><align hstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%7<br text></font><font face=/font/small.font><color value=@@clr_txt@@>%8</font></align></margin><ret>
<color value=FFFFFFFF><offset hshift=583 vshift=62><img src=/material/ui/icon/%9.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%A.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%B.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%C.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-40 vshift=-20><img src=/material/ui/icon/%D.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><offset hshift=-20 vshift=20><img src=/material/ui/icon/%E.mat width=20 height=20 left=0.15 right=0.85 top=0.15 bottom=0.85><ret><offset hshift=102 vshift=76><img src=/material/ui/button/job_gps_p.mat>"

	width: 618
	height:112
}

ui::button_template : btn.job_page_nav {
	name: "Job offer Next/Prev"
	n_pml: "<img src=/material/ui/button/arrow_0.mat left=%0 right=%1>"
	s_pml: "<img src=/material/ui/button/arrow_1.mat left=%0 right=%1>"
	p_pml: "<img src=/material/ui/button/arrow_2.mat left=%0 right=%1>"
	d_pml: "<img src=/material/ui/button/arrow_0.mat left=%0 right=%1 color=40FFFFFF>"

	width: 50
	height:32
}

ui::button_template : btn.job_page {
	name: "Job offer Page"
	n_pml: "<img src=/material/ui/button/bar_2.mat>"
	s_pml: "<img src=/material/ui/button/bar_3.mat>"
	p_pml: "<img src=/material/ui/button/bar_4.mat>"
	d_pml: "<img src=/material/ui/button/bar_1.mat>"

	width: 16
	height:32
}

ui::button_template : btn.city {
	name: "City pin"
	n_pml: "<nowrap><offset hshift=-4 vshift=-4><img src=/material/ui/button/city_0.mat></nowrap>"
	s_pml: "<nowrap><offset hshift=-4 vshift=-4><img src=/material/ui/button/city_1.mat></nowrap>"
	p_pml: "<nowrap><offset hshift=-4 vshift=-4><img src=/material/ui/button/city_2.mat></nowrap>"
	d_pml: "<nowrap><offset hshift=-4 vshift=-4><img src=/material/ui/button/city_3.mat color=80FFFFFF></nowrap>"
}

ui::button_template : btn.city_pin {
	name: "City pin scalable"

	n_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/button/city_pin_0.mat width=%0 height=%1></nowrap></align>"
	s_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/button/city_pin_1.mat width=%0 height=%1></nowrap></align>"
	p_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/button/city_pin_2.mat width=%0 height=%1></nowrap></align>"
	d_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/button/city_pin_3.mat color=80FFFFFF width=%0 height=%1></nowrap></align>"

	width:32
	height:32
}

ui::button_template : btn.city_pin.xmas19 {
	name: "Star pin scalable"

	n_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/notice_star.mat width=%0 height=%1></nowrap></align>"
	s_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/notice_star.mat width=%0 height=%1></nowrap></align>"
	p_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/notice_star.mat width=%0 height=%1></nowrap></align>"
	d_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/notice_star.mat color=80FFFFFF width=%0 height=%1></nowrap></align>"

	width:32
	height:32
}

ui::button_template : btn.key_city_pin {
	name: "Key city pin scalable"

	n_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/button/city_pin_0.mat color=66FFFFFF width=%0 height=%1></nowrap></align>"
	s_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/button/city_pin_1.mat color=66FFFFFF width=%0 height=%1></nowrap></align>"
	p_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/button/city_pin_2.mat color=66FFFFFF width=%0 height=%1></nowrap></align>"
	d_pml: "<align hstyle=center vstyle=center><nowrap><img src=/material/ui/button/city_pin_3.mat color=33FFFFFF width=%0 height=%1></nowrap></align>"

	width:32
	height:32
}

ui::button_template : btn.log {
	name: "Delivery log pin"
	n_pml: "<nowrap><offset hshift=-4 vshift=-4><img src=/material/ui/button/city_0.mat></nowrap>"
	s_pml: "<nowrap><offset hshift=-4 vshift=-4><img src=/material/ui/button/city_1.mat></nowrap>"
       s2_pml: "<nowrap><offset hshift=-4 vshift=-4><img src=/material/ui/button/city_1.mat></nowrap>"
	p_pml: "<nowrap><offset hshift=-4 vshift=-4><img src=/material/ui/button/city_0.mat></nowrap>"
}

ui::button_template : btn.driver_pin {
	name: "Driver pin AI"
	n_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align><ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=%0.mat left=p0 right=p96 top=p0 bottom=p96 width=28 height=28></align>"
	s_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align><ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=%0.mat left=p0 right=p96 top=p0 bottom=p96 width=28 height=28></align><ret><align hstyle=center vstyle=center><img src=/material/ui/company_manager/status_icons/background_images/icon_hover.mat></align>"
	p_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align><ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=%0.mat left=p0 right=p96 top=p0 bottom=p96 width=28 height=28></align><ret><align hstyle=center vstyle=center><img src=/material/ui/company_manager/status_icons/background_images/icon_selected.mat></align>"
	d_pml: "<img src=/material/ui/company_manager/status_icons/background_images/icon_selected.mat><ret><align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align><ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=%0.mat left=p0 right=p96 top=p0 bottom=p96 width=26 height=26></align>"
}

ui::button_template : btn.truck_pin {
	name: "Truck pin AI"
	n_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FF2f2f2f><img src=%0.mat></align>"
	s_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FF2f2f2f><img src=%0.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=/material/ui/company_manager/status_icons/background_images/icon_hover.mat></align>"
	p_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=%0.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=/material/ui/company_manager/status_icons/background_images/icon_selected.mat></align>"
	d_pml: "<img src=/material/ui/company_manager/status_icons/background_images/icon_selected.mat>
	<ret><align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=%0.mat></align>"
}

ui::button_template : btn.trailer_pin {
	name: "Trailer pin AI"
	n_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align><ret><align hstyle=center vstyle=center><color value=FF202020><img src=%0.mat width=36 height=36></align>"
	s_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FF202020><img src=%0.mat width=36 height=36></align><ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=/material/ui/company_manager/status_icons/background_images/icon_hover.mat></align>"
	p_pml: "<align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=%0.mat width=36 height=36></align><ret><align hstyle=center vstyle=center><img src=/material/ui/company_manager/status_icons/background_images/icon_selected.mat></align>"
	d_pml: "<img src=/material/ui/company_manager/status_icons/background_images/icon_selected.mat>
	<ret><align hstyle=center vstyle=center><color value=%1><img src=/material/ui/company_manager/status_icons/background_images/background_white.mat></align>
	<ret><align hstyle=center vstyle=center><color value=FFFFFFFF><img src=%0.mat width=32 height=32></align>"
}

################
# Bank
################

ui::button_template : btn.bank.new_loan {
	name:"Bank - New loan offer"
	n_pml:
"<img src=/material/ui/button/btn_yellow_big.mat left=1 right=0><img src=/material/ui/button/btn_yellow_big.mat right=0 width=-4><img src=/material/ui/button/btn_yellow_big.mat><ret>
<align hstyle=center vstyle=center><color value=FF0F0F0F><font face=/font/normal.font>%0<br>%1</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_yellow_big_s.mat left=1 right=0><img src=/material/ui/button/btn_yellow_big_s.mat right=0 width=-4><img src=/material/ui/button/btn_yellow_big_s.mat><ret>
<align hstyle=center vstyle=center><color value=FF0F0F0F><font face=/font/normal.font>%0<br>%1</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_yellow_big_p.mat left=1 right=0><img src=/material/ui/button/btn_yellow_big_p.mat right=0 width=-4><img src=/material/ui/button/btn_yellow_big_p.mat><ret>
<align hstyle=center vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font>%0<br>%1</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_yellow_big_p.mat left=1 right=0><img src=/material/ui/button/btn_yellow_big_p.mat right=0 width=-4><img src=/material/ui/button/btn_yellow_big_p.mat><ret>
<align hstyle=center vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font>%0<br>%1</font></align>"
	d_pml:
"<img src=/material/ui/button/btn_yellow_big_d.mat left=1 right=0><img src=/material/ui/button/btn_yellow_big_d.mat right=0 width=-4><img src=/material/ui/button/btn_yellow_big_d.mat><ret>
<align hstyle=center vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font>%0<br>%1</font></align>"
	height: 90
}

ui::button_template : btn.bank.loan_list {
	name:"Bank - Loan list item"
	n_pml:
"<align hstyle=left vstyle=center><font face=/font/normal.font><color value=@@clr_txt@@>%0</font></align>
<ret><align hstyle=left vstyle=center left=170><font face=/font/normal.font><color value=@@clr_sel@@>%1<color value=@@clr_txt@@></font></align>
<ret><offset hshift=294><img src=/material/ui/white.mat color=FF181818 width=88 height=28 xscale=stretch yscale=stretch><offset hshift=-88><img src=/material/ui/white.mat color=FF484848 width=%6 height=28 xscale=stretch yscale=stretch>
<ret><offset hshift=264><align hstyle=center vstyle=center right=411><font face=/font/normal.font>%2 / %3</font></align>
<ret><align hstyle=right vstyle=center right=495><font face=/font/normal.font>%4%</font></align>
<ret><align hstyle=right vstyle=center right=658><font face=/font/normal.font>%5 / @@ui_1day@@</font></align>
<ret><offset hshift=679><img src=/material/ui/button/loan_n.mat left=1 right=0><img src=/material/ui/button/loan_n.mat right=0 width=-4><img src=/material/ui/button/loan_n.mat>
<ret><offset hshift=678><align hstyle=center vstyle=center right=834><font face=/font/normal.font>@@bank_loan_repay@@</font></align>"
	s_pml:
"<align hstyle=left vstyle=center><font face=/font/normal.font><color value=@@clr_txt@@>%0</font></align>
<ret><align hstyle=left vstyle=center left=170><font face=/font/normal.font><color value=@@clr_sel@@>%1<color value=@@clr_txt@@></font></align>
<ret><offset hshift=294><img src=/material/ui/white.mat color=FF181818 width=88 height=28 xscale=stretch yscale=stretch><offset hshift=-88><img src=/material/ui/white.mat color=FF484848 width=%6 height=28 xscale=stretch yscale=stretch>
<ret><offset hshift=264><align hstyle=center vstyle=center right=411><font face=/font/normal.font>%2 / %3</font></align>
<ret><align hstyle=right vstyle=center right=495><font face=/font/normal.font>%4%</font></align>
<ret><align hstyle=right vstyle=center right=658><font face=/font/normal.font>%5 / @@ui_1day@@</font></align>
<ret><offset hshift=679><img src=/material/ui/button/loan_s.mat left=1 right=0><img src=/material/ui/button/loan_s.mat right=0 width=-4><img src=/material/ui/button/loan_s.mat>
<ret><offset hshift=678><align hstyle=center vstyle=center right=834><font face=/font/normal.font>@@bank_loan_repay@@</font></align>"
       s2_pml:
"<align hstyle=left vstyle=center><font face=/font/normal.font><color value=@@clr_txt@@>%0</font></align>
<ret><align hstyle=left vstyle=center left=170><font face=/font/normal.font><color value=@@clr_sel@@>%1<color value=@@clr_txt@@></font></align>
<ret><offset hshift=294><img src=/material/ui/white.mat color=FF181818 width=88 height=28 xscale=stretch yscale=stretch><offset hshift=-88><img src=/material/ui/white.mat color=FF484848 width=%6 height=28 xscale=stretch yscale=stretch>
<ret><offset hshift=264><align hstyle=center vstyle=center right=411><font face=/font/normal.font>%2 / %3</font></align>
<ret><align hstyle=right vstyle=center right=495><font face=/font/normal.font>%4%</font></align>
<ret><align hstyle=right vstyle=center right=658><font face=/font/normal.font>%5 / @@ui_1day@@</font></align>
<ret><offset hshift=679><img src=/material/ui/button/loan_p.mat left=1 right=0><img src=/material/ui/button/loan_p.mat right=0 width=-4><img src=/material/ui/button/loan_p.mat>
<ret><offset hshift=678><align hstyle=center vstyle=center right=834><font face=/font/normal.font><color value=FF0F0F0F>@@bank_loan_repay@@</font></align>"
	p_pml:
"<align hstyle=left vstyle=center><font face=/font/normal.font><color value=@@clr_txt@@>%0</font></align>
<ret><align hstyle=left vstyle=center left=170><font face=/font/normal.font><color value=@@clr_sel@@>%1<color value=@@clr_txt@@></font></align>
<ret><offset hshift=294><img src=/material/ui/white.mat color=FF181818 width=88 height=28 xscale=stretch yscale=stretch><offset hshift=-88><img src=/material/ui/white.mat color=FF484848 width=%6 height=28 xscale=stretch yscale=stretch>
<ret><offset hshift=264><align hstyle=center vstyle=center right=411><font face=/font/normal.font>%2 / %3</font></align>
<ret><align hstyle=right vstyle=center right=495><font face=/font/normal.font>%4%</font></align>
<ret><align hstyle=right vstyle=center right=658><font face=/font/normal.font>%5 / @@ui_1day@@</font></align>
<ret><offset hshift=679><img src=/material/ui/button/loan_p.mat left=1 right=0><img src=/material/ui/button/loan_p.mat right=0 width=-4><img src=/material/ui/button/loan_p.mat>
<ret><offset hshift=678><align hstyle=center vstyle=center right=834><font face=/font/normal.font><color value=FF0F0F0F>@@bank_loan_repay@@</font></align>"
	d_pml:
"<align hstyle=left vstyle=center><font face=/font/normal.font><color value=@@clr_txt@@>%0</font></align>
<ret><align hstyle=left vstyle=center left=170><font face=/font/normal.font><color value=@@clr_sel@@>%1<color value=@@clr_txt@@></font></align>
<ret><offset hshift=294><img src=/material/ui/white.mat color=FF181818 width=88 height=28 xscale=stretch yscale=stretch><offset hshift=-88><img src=/material/ui/white.mat color=FF484848 width=%6 height=28 xscale=stretch yscale=stretch>
<ret><offset hshift=264><align hstyle=center vstyle=center right=411><font face=/font/normal.font>%2 / %3</font></align>
<ret><align hstyle=right vstyle=center right=495><font face=/font/normal.font>%4%</font></align>
<ret><align hstyle=right vstyle=center right=658><font face=/font/normal.font>%5 / @@ui_1day@@</font></align>
<ret><offset hshift=678><align hstyle=center vstyle=center right=834><font face=/font/normal.font>@@bank_loan_repay@@</font></align>
<ret><offset hshift=679><img src=/material/ui/button/loan_n.mat left=1 right=0 color=23FFFFFF><img src=/material/ui/button/loan_n.mat right=0 width=-4 color=23FFFFFF><img src=/material/ui/button/loan_n.mat color=23FFFFFF>"
	height: 28
}

################
# Mail
################

ui::button_template : btn.mail.item {
	name:"Mail - Message item"
	n_pml:
"<offset hshift=20><img src=/material/ui/mail/envelope_%2.mat><align hstyle=left vstyle=center><font face=/font/normal.font>%0<ret><offset hshift=575>%1</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_list_s.mat left=1 right=0><img src=/material/ui/button/btn_list_s.mat right=0 width=536><img src=/material/ui/button/btn_list_s.mat><offset hshift=2><img src=/material/ui/button/btn_list_s.mat left=1 right=0><img src=/material/ui/button/btn_list_s.mat right=0 width=276><img src=/material/ui/button/btn_list_s.mat>
<ret><offset hshift=20><img src=/material/ui/mail/envelope_%2.mat><align hstyle=left vstyle=center><font face=/font/normal.font>%0<ret><offset hshift=575>%1</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_list_p.mat left=1 right=0><img src=/material/ui/button/btn_list_p.mat right=0 width=536><img src=/material/ui/button/btn_list_p.mat><offset hshift=2><img src=/material/ui/button/btn_list_p.mat left=1 right=0><img src=/material/ui/button/btn_list_p.mat right=0 width=276><img src=/material/ui/button/btn_list_p.mat>
<ret><offset hshift=20><img src=/material/ui/mail/envelope_%2.mat><align hstyle=left vstyle=center><font face=/font/normal.font>%0<ret><offset hshift=575>%1</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_list_p.mat left=1 right=0><img src=/material/ui/button/btn_list_p.mat right=0 width=536><img src=/material/ui/button/btn_list_p.mat><offset hshift=2><img src=/material/ui/button/btn_list_p.mat left=1 right=0><img src=/material/ui/button/btn_list_p.mat right=0 width=276><img src=/material/ui/button/btn_list_p.mat>
<ret><offset hshift=20><img src=/material/ui/mail/envelope_%2.mat><align hstyle=left vstyle=center><font face=/font/normal.font>%0<ret><offset hshift=575>%1</font></align>"
	d_pml:
""
	height: 32
}

################
# Company manager
################

ui::button_template : btn.table.head {
	name:"Table heading"
	n_pml:
"<align hstyle=center vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_normal_focus.mat xscale=stretch><ret>
<align hstyle=center vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font>%0</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_normal_focus.mat xscale=stretch><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%0</font></align>"
	p_pml:
"<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%0</font></align>"
	d_pml:
"<align hstyle=center vstyle=center><color value=@@clr_txt_d@@><font face=/font/normal.font>%0</font></align>"
	height: 32
}

ui::table_row_template : btn.table.row {
	name:"Table row"

	n_pml_prefix:
"<color value=@@clr_txt@@><font face=/font/normal.font>"
	n_pml_suffix:
"</font>"
	n_pml_cell:
"<offset hshift=${padding_left}><align vstyle=center hstyle=${@align@} right=${right-padding_right}>%#</align>"

	s_pml_prefix:
""
	s_pml_suffix:
""
	s_pml_cell:
""

	s2_pml_prefix:
""
	s2_pml_suffix:
""
	s2_pml_cell:
""

	p_pml_prefix:
""
	p_pml_suffix:
""
	p_pml_cell:
""

	d_pml_prefix:
"<color value=@@clr_txt@@><font face=/font/normal.font>"
	d_pml_suffix:
"</font>"
	d_pml_cell:
"<offset hshift=${padding_left}><align vstyle=center hstyle=${@align@} right=${right-padding_right}>%#</align>"
}

ui::table_row_template : btn.table.highlight {
	name:"Table column highlight"

	n_pml_prefix:
"<color value=@@clr_sel@@><font face=/font/normal.font>"
	n_pml_suffix:
"</font>"
	n_pml_cell:
"<offset hshift=${padding_left}><align vstyle=center hstyle=${@align@} right=${right-padding_right}>%#</align>"

	s_pml_prefix:
"<img src=/material/ui/button/btn_list_s.mat right=p${8-width} left=p8><color value=FFFFFFFF><font face=/font/normal.font>"
	s_pml_suffix:
"</font><img src=/material/ui/button/btn_list_s.mat left=p${8-width}>"
	s_pml_cell:
"<img src=/material/ui/button/btn_list_s.mat right=0 width=${width}><offset hshift=${-width+padding_left}><align vstyle=center hstyle=${@align@} right=${right-padding_right}>%#</align>"

	s2_pml_prefix:
"<img src=/material/ui/button/btn_list_p.mat right=p${8-width} left=p8><font face=/font/normal.font>"
	s2_pml_suffix:
"</font><img src=/material/ui/button/btn_list_p.mat left=p${8-width}>"
	s2_pml_cell:
"<img src=/material/ui/button/btn_list_p.mat right=0 width=${width}><offset hshift=${-width+padding_left}><align vstyle=center hstyle=${@align@} right=${right-padding_right}>%#</align>"

	p_pml_prefix:
"<img src=/material/ui/button/btn_list_p.mat right=p${8-width} left=p8><font face=/font/normal.font>"
	p_pml_suffix:
"</font><img src=/material/ui/button/btn_list_p.mat left=p${8-width}>"
	p_pml_cell:
"<img src=/material/ui/button/btn_list_p.mat right=0 width=${width}><offset hshift=${-width+padding_left}><align vstyle=center hstyle=${@align@} right=${right-padding_right}>%#</align>"

	d_pml_prefix: ""
	d_pml_suffix: ""
	d_pml_cell: ""

	height: 32
}

ui::button_template : btn.gpin.tiny {
	name:"Garage pin tiny"
	n_pml:
"<img src=/material/ui/company_manager/garage_ico_tiny_n.mat left=p4 top=p4>"
	s_pml:
"<img src=/material/ui/company_manager/garage_ico_tiny_s.mat left=p4 top=p4>"
       s2_pml:
"<img src=/material/ui/company_manager/garage_ico_tiny_p.mat left=p4 top=p4>"
	p_pml:
"<img src=/material/ui/company_manager/garage_ico_tiny_p.mat left=p4 top=p4>"
	d_pml:
"<img src=/material/ui/company_manager/garage_ico_tiny_d.mat left=p4 top=p4>"

	width: 24
	height: 24
}

ui::button_template : btn.gpin.small {
	name:"Garage pin small"
	n_pml:
"<img src=/material/ui/company_manager/garage_ico_small_n.mat left=p1 top=p1>"
	s_pml:
"<img src=/material/ui/company_manager/garage_ico_small_s.mat left=p1 top=p1>"
       s2_pml:
"<img src=/material/ui/company_manager/garage_ico_small_p.mat left=p1 top=p1>"
	p_pml:
"<img src=/material/ui/company_manager/garage_ico_small_p.mat left=p1 top=p1>"
	d_pml:
"<img src=/material/ui/company_manager/garage_ico_small_d.mat left=p1 top=p1>"

	width: 30
	height: 30
}

ui::button_template : btn.gpin.big {
	name:"Garage pin big"
	n_pml:
"<img src=/material/ui/company_manager/garage_ico_big_n.mat left=p15 top=p15>"
	s_pml:
"<img src=/material/ui/company_manager/garage_ico_big_s.mat left=p15 top=p15>"
       s2_pml:
"<img src=/material/ui/company_manager/garage_ico_big_p.mat left=p15 top=p15>"
	p_pml:
"<img src=/material/ui/company_manager/garage_ico_big_p.mat left=p15 top=p15>"
	d_pml:
"<img src=/material/ui/company_manager/garage_ico_big_d.mat left=p15 top=p15>"

	width: 34
	height: 34
}


ui::button_template : btn.gpin.tiny.hq {
	name:"HQ pin tiny"
	n_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_tiny_n.mat left=p4 top=p4>"
	s_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_tiny_s.mat left=p4 top=p4>"
       s2_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_tiny_p.mat left=p4 top=p4>"
	p_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_tiny_p.mat left=p4 top=p4>"
	d_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_tiny_d.mat left=p4 top=p4>"

	width: 24
	height: 24
}

ui::button_template : btn.gpin.small.hq {
	name:"HQ pin small"
	n_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_small_n.mat left=p1 top=p1>"
	s_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_small_s.mat left=p1 top=p1>"
       s2_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_small_p.mat left=p1 top=p1>"
	p_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_small_p.mat left=p1 top=p1>"
	d_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_small_d.mat left=p1 top=p1>"

	width: 30
	height: 30
}

ui::button_template : btn.gpin.big.hq {
	name:"HQ pin big"
	n_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_big_n.mat left=p0 top=p0>"
	s_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_big_s.mat left=p0 top=p0>"
       s2_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_big_p.mat left=p0 top=p0>"
	p_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_big_p.mat left=p0 top=p0>"
	d_pml:
"<img src=/material/ui/company_manager/hqpin/hq_garage_ico_big_d.mat left=p0 top=p0>"

	width: 34
	height: 34
}

ui::button_template : btn.tdpin.big {
	name:"Truck dealer pin big"
	n_pml:
"<img src=/material/ui/button/tdealer_pin_n_big.mat left=p15 top=p15>"
	s_pml:
"<img src=/material/ui/button/tdealer_pin_s.mat left=p15 top=p15>"
       s2_pml:
"<img src=/material/ui/button/tdealer_pin_p.mat left=p15 top=p15>"
	p_pml:
"<img src=/material/ui/button/tdealer_pin_p.mat left=p15 top=p15>"
	d_pml:
""

	width: 34
	height: 34
}

ui::button_template : btn.tdpin.small {
	name:"Truck dealer pin small"
	n_pml:
"<img src=/material/ui/button/tdealer_pin_n_small.mat left=p15 top=p15>"
	s_pml:
"<img src=/material/ui/button/tdealer_pin_s.mat left=p15 top=p15>"
       s2_pml:
"<img src=/material/ui/button/tdealer_pin_p.mat left=p15 top=p15>"
	p_pml:
"<img src=/material/ui/button/tdealer_pin_p.mat left=p15 top=p15>"
	d_pml:
""

	width: 34
	height: 34
}

ui::button_template : btn.tdpin.unknown {
	name:"Truck dealer pin unknown"
	n_pml:
"<img src=/material/ui/icon/tdealer_unknown.mat color=40FFFFFF>"
	s_pml:
"<img src=/material/ui/icon/tdealer_unknown.mat>"
       s2_pml:
"<img src=/material/ui/icon/tdealer_unknown.mat>"
	p_pml:
"<img src=/material/ui/icon/tdealer_unknown.mat color=40FFFFFF>"
	d_pml:
"<img src=/material/ui/icon/tdealer_unknown.mat color=40FFFFFF>"

	width: 34
	height: 34
}
ui::button_template : btn.pic_trdr {
	name:"Garage manager - driver overlay"
	n_pml:
"<img src=/material/ui/button/pic_frame_n.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=right vstyle=bottom right=92 bottom=92><img src=%0.mat right=p96 bottom=p96 width=55 height=55></align>"
	s_pml:
"<img src=/material/ui/button/pic_frame_s.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_s.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_s.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=right vstyle=bottom right=92 bottom=92><img src=%0.mat right=p96 bottom=p96 width=55 height=55></align>"
       s2_pml:
"<img src=/material/ui/button/pic_frame_p.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=right vstyle=bottom right=92 bottom=92><img src=%0.mat right=p96 bottom=p96 width=55 height=55></align>"
	p_pml:
"<img src=/material/ui/button/pic_frame_p.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=right vstyle=bottom right=92 bottom=92><img src=%0.mat right=p96 bottom=p96 width=55 height=55></align>"
	d_pml:
"<img src=/material/ui/button/pic_frame_n.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=center vstyle=center><img src=/material/ui/company_manager/empty_slot.mat right=p96 bottom=p96></align>"

	width: 96
	height: 96
}

ui::button_template : btn.pic_truck {
	name:"Garage manager - truck button"
	n_pml:
"<img src=/material/ui/button/pic_frame_n.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	s_pml:
"<img src=/material/ui/button/pic_frame_s.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_s.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_s.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
       s2_pml:
"<img src=/material/ui/button/pic_frame_p.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	p_pml:
"<img src=/material/ui/button/pic_frame_p.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	d_pml:
"<img src=/material/ui/button/pic_frame_n.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=center vstyle=center><img src=/material/ui/company_manager/empty_slot.mat right=p96 bottom=p96></align>"

	width: 96
	height: 96
}

ui::button_template : btn.garage.det.slot_btn {
	name:"Garage detail slot button"
	n_pml:
"<img src=/material/ui/button/pic_frame_n.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	s_pml:
"<img src=/material/ui/button/pic_frame_s.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_s.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_s.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
       s2_pml:
"<img src=/material/ui/button/pic_frame_p.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	p_pml:
"<img src=/material/ui/button/pic_frame_p.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	d_pml:
"<img src=/material/ui/button/pic_frame_n.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"

	width: 96
	height: 96
}

ui::button_template : btn.pic_driver {
	name:"Garage manager - driver button"
	n_pml:
"<img src=/material/ui/button/profile0.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile0.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/profile0.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=center vstyle=center><img src=%0.mat right=p96 bottom=p96 width=86 height=86></align>"
	s_pml:
"<img src=/material/ui/button/pic_frame_s_driver.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_s_driver.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_s_driver.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=center vstyle=center><img src=%0.mat right=p96 bottom=p96 width=86 height=86></align>"
       s2_pml:
"<img src=/material/ui/button/profile2.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile2.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/profile2.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=center vstyle=center><img src=%0.mat right=p96 bottom=p96 width=86 height=86></align>"
	p_pml:
"<img src=/material/ui/button/profile2.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile2.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/profile2.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><align hstyle=center vstyle=center><img src=%0.mat right=p96 bottom=p96 width=86 height=86></align>"
	d_pml:
"<img src=/material/ui/button/profile0.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile0.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/profile0.mat left=1 right=0 bottom=p110 height=96 yscale=stretch><ret><align hstyle=center vstyle=center><img src=/material/ui/driver/empty.mat right=p96 bottom=p96 width=86 height=86></align>"

	width: 96
	height: 96
}

ui::button_template : btn.emph_btn {
	name:"Emphasized button"
	n_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_focus.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=FFFFFFFF><font face=/font/big.font>%0</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_press.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<offset hshift=20><img src=/material/ui/button/btn_normal_press.mat width=-20><ret>
<align hstyle=center vstyle=center><color value=@@clr_sel@@><font face=/font/big.font>%0</font></align>"
	d_pml:
"<color value=40FFFFFF><img src=/material/ui/button/btn_dark.mat left=1 right=0><img src=/material/ui/button/btn_dark.mat right=0 width=-8><img src=/material/ui/button/btn_dark.mat><ret>
<align hstyle=center vstyle=center><color value=33FFFFFF><font face=/font/big.font>%0</font></align>"
	height: 32
}

ui::button_template : btn.garsel.driver {
	name:"Garage selection - driver button"
	n_pml:
"<img src=/material/ui/button/pic_frame_n.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	s_pml:
"<img src=/material/ui/button/pic_frame_s.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_s.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_s.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
       s2_pml:
"<img src=/material/ui/button/pic_frame_p.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	p_pml:
"<img src=/material/ui/button/pic_frame_p.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_p.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	d_pml:
"<img src=/material/ui/button/pic_frame_n.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_n.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"

	width: 96
	height: 96
}

ui::button_template : btn.compman.opbtn {
	name:"Company manager - operation button"
	n_pml:
"<img src=/material/ui/company_manager/%0.mat right=0.5>
<br offset=5><color value=@@clr_txt@@><align hstyle=center><font face=/font/normal.font>%1</font></align>"
	s_pml:
"<img src=/material/ui/company_manager/%0.mat left=0.5>
<br offset=5><color value=@@clr_txt@@><align hstyle=center><font face=/font/normal.font>%1</font></align>"
	p_pml:
"<img src=/material/ui/company_manager/%0.mat right=0.5>
<br offset=5><color value=@@clr_txt@@><align hstyle=center><font face=/font/normal.font>%1</font></align>"
	d_pml:
"<color value=35FFFFFF><img src=/material/ui/company_manager/%0.mat right=0.5>
<br offset=5><color value=35FFFFFF><align hstyle=center><font face=/font/normal.font>%1</font></align>"

	width: 64
	height: 124
}

ui::button_template : btn.pic_garage {
	name:"Truck manager - garage button"
	n_pml:
"<img src=/material/ui/button/profile0.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile0.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/profile0.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><offset hshift=4 vshift=3><img src=/material/ui/company_manager/garage_%0.mat width=88 height=90>"
	s_pml:
"<img src=/material/ui/button/pic_frame_s_driver.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_s_driver.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/pic_frame_s_driver.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><offset hshift=4 vshift=3><img src=/material/ui/company_manager/garage_%0.mat width=88 height=90>"
       s2_pml:
"<img src=/material/ui/button/profile2.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile2.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/profile2.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><offset hshift=4 vshift=3><img src=/material/ui/company_manager/garage_%0.mat width=88 height=90>"
	p_pml:
"<img src=/material/ui/button/profile2.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile2.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/profile2.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>
<ret><offset hshift=4 vshift=3><img src=/material/ui/company_manager/garage_%0.mat width=88 height=90>"
	d_pml:
"<img src=/material/ui/button/profile0.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile0.mat left=p16 bottom=p110 height=96 width=64 yscale=stretch><img src=/material/ui/button/profile0.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"

	width: 96
	height: 96
}

ui::button_template : btn.usr_clr {
	name:"User color"
	n_pml: "%0"
	s_pml: "%0"
       s2_pml: "%0<ret><offset vshift=28><img src=/material/ui/white.mat width=26 height=3 color=@@clr_sel@@>"
	p_pml: "%0<ret><offset vshift=28><img src=/material/ui/white.mat width=26 height=3 color=@@clr_sel@@>"

	width: 26
	height: 31
}


ui::button_template : btn.recruit.drv {
	name:"Recruit driver"

	n_pml: "<color value=ED2E2D2F><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret><offset vshift=1><img src=/material/ui/white.mat xscale=stretch height=-1><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret>

<color value=FFFFFFFF><img src=/material/ui/button/recruit_0.mat><ret><offset hshift=15 vshift=16><img src=/material/ui/driver/%0.mat right=p96 bottom=p96 width=86 height=86><ret><offset hshift=131 vshift=14><font face=/font/normal.font><color value=@@clr_sel@@>%1</font>"

	s_pml: "<color value=ED4D4D4D><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret><offset vshift=1><img src=/material/ui/white.mat xscale=stretch height=-1><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret>
<color value=ED2E2D2F><offset hshift=6 vshift=6><img src=/material/ui/white.mat width=-6 height=-6><ret>

<color value=FFFFFFFF><img src=/material/ui/button/recruit_0.mat><ret><offset hshift=15 vshift=16><img src=/material/ui/driver/%0.mat right=p96 bottom=p96 width=86 height=86><ret><offset hshift=131 vshift=14><font face=/font/normal.font><color value=@@clr_sel@@>%1</font>"

       s2_pml: "<color value=ED4D4D4D><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret><offset vshift=1><img src=/material/ui/white.mat xscale=stretch height=-1><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret>
<color value=ED2E2D2F><offset hshift=6 vshift=6><img src=/material/ui/white.mat width=-6 height=-6><ret>

<color value=@@clr_sel@@><offset vshift=1><img src=/material/ui/white.mat width=1 height=5><offset vshift=-1>
<img src=/material/ui/white.mat width=-1 height=6><offset vshift=1><img src=/material/ui/white.mat width=1 height=5><ret>

<color value=FFFFFFFF><img src=/material/ui/button/recruit_0.mat><ret><offset hshift=15 vshift=16><img src=/material/ui/driver/%0.mat right=p96 bottom=p96 width=86 height=86><ret><offset hshift=131 vshift=14><font face=/font/normal.font><color value=@@clr_sel@@>%1</font>"

	p_pml: "<color value=ED2E2D2F><offset vshift=1><img src=/material/ui/white.mat xscale=stretch height=-2><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret>
<color value=@@clr_sel@@><offset vshift=1><img src=/material/ui/white.mat width=1 height=5><offset vshift=-1>
<img src=/material/ui/white.mat width=-1 height=6><offset vshift=1><img src=/material/ui/white.mat width=1 height=5><ret>


<color value=FFFFFFFF><img src=/material/ui/button/recruit_0.mat><ret><offset hshift=15 vshift=16><img src=/material/ui/driver/%0.mat right=p96 bottom=p96 width=86 height=86><ret><offset hshift=131 vshift=14><font face=/font/normal.font><color value=@@clr_sel@@>%1</font>"

	width: 512
	height: 256
}

ui::button_template : btn.tdealers.brand_filter {
	name: "Dealerships - brand filter"

	n_pml: "<img src=/material/ui/brand_logo/bcg_large_n.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"
	s_pml: "<img src=/material/ui/brand_logo/bcg_large_p.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"
	p_pml: "<img src=/material/ui/brand_logo/bcg_large_p.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/brand_logo/%0.mat></align>"
	width: 200
	height: 73
}

ui::button_template : btn.online_truck {
	name: "Online truck"
	n_pml: "<img src=/material/ui/button/online_truck_n.mat><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0><img src=/material/ui/button/online_truck_n.mat top=8p left=8p width=562 height=240><ret><offset vshift=248><img src=/material/ui/button/online_truck_n.mat top=1 bottom=0><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0 top=1 bottom=0>"
	s_pml: "<img src=/material/ui/button/online_truck_n.mat><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0><img src=/material/ui/button/online_truck_n.mat top=8p left=8p width=562 height=240><ret><offset vshift=248><img src=/material/ui/button/online_truck_n.mat top=1 bottom=0><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0 top=1 bottom=0><ret><offset hshift=10><img src=/material/ui/white.mat height=2 width=542 color=@@clr_sel@@>"

    s2_pml: "<img src=/material/ui/button/online_truck_p.mat><img src=/material/ui/button/online_truck_p.mat left=8p width=-8><img src=/material/ui/button/online_truck_p.mat left=1 right=0><img src=/material/ui/button/online_truck_p.mat top=8p left=8p width=562 height=240><ret><offset vshift=248><img src=/material/ui/button/online_truck_p.mat top=1 bottom=0><img src=/material/ui/button/online_truck_p.mat left=8p width=-8><img src=/material/ui/button/online_truck_p.mat left=1 right=0 top=1 bottom=0><ret><offset hshift=10><img src=/material/ui/white.mat height=2 width=542 color=@@clr_sel@@>"
	p_pml: "<img src=/material/ui/button/online_truck_p.mat><img src=/material/ui/button/online_truck_p.mat left=8p width=-8><img src=/material/ui/button/online_truck_p.mat left=1 right=0><img src=/material/ui/button/online_truck_p.mat top=8p left=8p width=562 height=240><ret><offset vshift=248><img src=/material/ui/button/online_truck_p.mat top=1 bottom=0><img src=/material/ui/button/online_truck_p.mat left=8p width=-8><img src=/material/ui/button/online_truck_p.mat left=1 right=0 top=1 bottom=0>"
	d_pml: "<img src=/material/ui/button/online_truck_n.mat><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0><img src=/material/ui/button/online_truck_n.mat top=8p left=8p width=562 height=240><ret><offset vshift=248><img src=/material/ui/button/online_truck_n.mat top=1 bottom=0><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0 top=1 bottom=0>"
	width: 562
	height: 256
}

ui::table_row_template : btn.ferry {
	name:"Ferry"

	n_pml_prefix:
"<color value=@@clr_txt@@><font face=/font/normal.font>"
	n_pml_suffix:
"</font>"
	n_pml_cell:
"<offset hshift=${padding_left}><align vstyle=center hstyle=center right=${right-padding_right}>%#</align>"

	s_pml_prefix:
"<img src=/material/ui/button/btn_list_s.mat right=p${8-width} left=p8><font face=/font/normal.font>"
	s_pml_suffix:
"</font><img src=/material/ui/button/btn_list_s.mat left=p${8-width}>"
	s_pml_cell:
"<img src=/material/ui/button/btn_list_s.mat right=0 width=${width}><offset hshift=${-width+padding_left}><align vstyle=center hstyle=center right=${right-padding_right}>%#</align>"

	s2_pml_prefix:
"<img src=/material/ui/button/btn_list_p.mat right=p${8-width} left=p8><font face=/font/normal.font>"
	s2_pml_suffix:
"</font><img src=/material/ui/button/btn_list_p.mat left=p${8-width}>"
	s2_pml_cell:
"<img src=/material/ui/button/btn_list_p.mat right=0 width=${width}><offset hshift=${-width+padding_left}><align vstyle=center hstyle=center right=${right-padding_right}>%#</align>"

	p_pml_prefix:
"<img src=/material/ui/button/btn_list_p.mat right=p${8-width} left=p8><font face=/font/normal.font>"
	p_pml_suffix:
"</font><img src=/material/ui/button/btn_list_p.mat left=p${8-width}>"
	p_pml_cell:
"<img src=/material/ui/button/btn_list_p.mat right=0 width=${width}><offset hshift=${-width+padding_left}><align vstyle=center hstyle=center right=${right-padding_right}>%#</align>"

	d_pml_prefix: ""
	d_pml_suffix: ""
	d_pml_cell: ""

	height: 32
}

ui::button_template : btn.savegame0 {
	name:"Save Game button"

	n_pml: "<img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=144><img src=/material/ui/button/profile1.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/profile1.mat><img src=/material/ui/button/profile1.mat left=p16 width=303><img src=/material/ui/button/profile1.mat left=1 right=0>
<ret><offset hshift=5 vshift=5><img src=%0 width=166 height=100>
<ret><offset vshift=17><margin left=195 right=499><font face=/font/big.font><color value=@@clr_sel@@>%1</font>
<br text offset=25><color value=@@clr_txt@@><font face=/font/normal.font>%2
<br text offset=14><align hstyle=right><color value=@@clr_txt@@> %3</align></font></margin><ret><align hstyle=right vstyle=top right=-10><offset vshift=10>%4</align>"

	s_pml: "<img src=/material/ui/button/profile0.mat><img src=/material/ui/button/profile0.mat left=p16 width=144><img src=/material/ui/button/profile0.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/profile0.mat><img src=/material/ui/button/profile0.mat left=p16 width=303><img src=/material/ui/button/profile0.mat left=1 right=0>
<ret><offset hshift=5 vshift=5><img src=%0 width=166 height=100>
<ret><offset vshift=17><margin left=195 right=499><font face=/font/big.font><color value=@@clr_sel@@>%1</font>
<br text offset=25><color value=@@clr_txt@@><font face=/font/normal.font>%2
<br text offset=14><align hstyle=right><color value=@@clr_txt@@> %3</align></font></margin><ret><align hstyle=right vstyle=top right=-10><offset vshift=10>%4</align>"
	p_pml: "<img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=144><img src=/material/ui/button/profile2.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=303><img src=/material/ui/button/profile2.mat left=1 right=0>
<ret><offset hshift=5 vshift=5><img src=%0 width=166 height=100>
<ret><offset vshift=17><margin left=195 right=499><font face=/font/big.font><color value=@@clr_sel@@>%1</font>
<br text offset=25><color value=@@clr_txt@@><font face=/font/normal.font>%2
<br text offset=14><align hstyle=right><color value=@@clr_txt@@> %3</align></font></margin><ret><align hstyle=right vstyle=top right=-10><offset vshift=10>%4</align>"

	d_pml: "<img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=144><img src=/material/ui/button/profile2.mat left=1 right=0><offset hshift=3><img src=/material/ui/button/profile2.mat><img src=/material/ui/button/profile2.mat left=p16 width=303><img src=/material/ui/button/profile2.mat left=1 right=0>
<ret><offset hshift=5 vshift=5><img src=%0 width=166 height=100>
<ret><offset vshift=17><margin left=195 right=499><font face=/font/big.font><color value=@@clr_sel@@>%1</font>
<br text offset=25><color value=@@clr_txt@@><font face=/font/normal.font>%2
<br text offset=14><align hstyle=right><color value=@@clr_txt@@> %3</align></font></margin><ret><align hstyle=right vstyle=top right=-10><offset vshift=10>%4</align><ret><img src=/material/ui/white.mat color=F5000000 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><color><font face=/font/big.font>@@incompatible_save_upgrade@@</font></align>"

	width: 514
	height: 110
}

ui::button_template : btn.stats {
	name:"Statistics"

	d_pml: "<align hstyle=left vstyle=center><font face=/font/normal.font xscale=0.9><color value=@@clr_txt@@>%0</font></align><ret><align hstyle=right vstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%1</font></align>"
	n_pml: "<align hstyle=left vstyle=center><font face=/font/normal.font xscale=0.9><color value=@@clr_txt@@>%0</font></align><ret><align hstyle=right vstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%1</font></align>"

	s_pml: "<align hstyle=left vstyle=center><font face=/font/normal.font xscale=0.9><color value=@@clr_txt@@>%0</font></align><ret><align hstyle=right vstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%1</font></align>"
	p_pml: "<align hstyle=left vstyle=center><font face=/font/normal.font xscale=0.9><color value=@@clr_txt@@>%0</font></align><ret><align hstyle=right vstyle=center><font face=/font/normal.font><color value=@@clr_sel@@>%1</font></align>"

	height: 28
}

################
# Skills
################

ui::button_template : btn.skill_bar {
	name:"Skill bar"

	n_pml: "<img src=/material/ui/window/skills.mat right=p8><img src=/material/ui/window/skills.mat right=p8 left=p8 width=68><img src=/material/ui/window/skills.mat left=p8 right=p0><offset hshift=10><img src=/material/ui/window/skills.mat><img src=/material/ui/window/skills.mat right=p16 left=p16 width=286><img src=/material/ui/window/skills.mat left=p16 right=p0><ret>
<offset hshift=12 vshift=8><img src=/material/ui/icon/skill_%0.mat right=0.5>"
	d_pml: "<img src=/material/ui/window/skills.mat right=p8><img src=/material/ui/window/skills.mat right=p8 left=p8 width=68><img src=/material/ui/window/skills.mat left=p8 right=p0><offset hshift=10><img src=/material/ui/window/skills.mat><img src=/material/ui/window/skills.mat right=p16 left=p16 width=286><img src=/material/ui/window/skills.mat left=p16 right=p0><ret>
<offset hshift=12 vshift=8><img src=/material/ui/icon/skill_%0.mat right=0.5>"

	s_pml: "<img src=/material/ui/window/skills_s.mat right=p8><img src=/material/ui/window/skills_s.mat right=p8 left=p8 width=68><img src=/material/ui/window/skills_s.mat left=p8 right=p0><offset hshift=10><img src=/material/ui/window/skills_s.mat><img src=/material/ui/window/skills_s.mat right=p16 left=p16 width=286><img src=/material/ui/window/skills_s.mat left=p16 right=p0><ret>
<offset hshift=12 vshift=8><img src=/material/ui/icon/skill_%0.mat left=0.5>"
	p_pml: "<img src=/material/ui/window/skills_p.mat right=p8><img src=/material/ui/window/skills_p.mat right=p8 left=p8 width=68><img src=/material/ui/window/skills_p.mat left=p8 right=p0><offset hshift=10><img src=/material/ui/window/skills_p.mat><img src=/material/ui/window/skills_p.mat right=p16 left=p16 width=286><img src=/material/ui/window/skills_p.mat left=p16 right=p0><ret>
<offset hshift=12 vshift=8><img src=/material/ui/icon/skill_%0.mat left=0.5>"

	width: 412
	height: 84
}

ui::button_template : btn.skill_bar.focused {
	name:"Skill bar focused"

	n_pml: "<img src=/material/ui/window/skills_s.mat right=p8><img src=/material/ui/window/skills_s.mat right=p8 left=p8 width=68><img src=/material/ui/window/skills_s.mat left=p8 right=p0><offset hshift=10><img src=/material/ui/window/skills_s.mat><img src=/material/ui/window/skills_s.mat right=p16 left=p16 width=286><img src=/material/ui/window/skills_s.mat left=p16 right=p0><ret>
<offset hshift=12 vshift=8><img src=/material/ui/icon/skill_%0.mat left=0.5>"
	d_pml: ""

	s_pml: "<img src=/material/ui/window/skills_s.mat right=p8><img src=/material/ui/window/skills_s.mat right=p8 left=p8 width=68><img src=/material/ui/window/skills_s.mat left=p8 right=p0><offset hshift=10><img src=/material/ui/window/skills_s.mat><img src=/material/ui/window/skills_s.mat right=p16 left=p16 width=286><img src=/material/ui/window/skills_s.mat left=p16 right=p0><ret>
<offset hshift=12 vshift=8><img src=/material/ui/icon/skill_%0.mat left=0.5>"
	p_pml: "<img src=/material/ui/window/skills_p.mat right=p8><img src=/material/ui/window/skills_p.mat right=p8 left=p8 width=68><img src=/material/ui/window/skills_p.mat left=p8 right=p0><offset hshift=10><img src=/material/ui/window/skills_p.mat><img src=/material/ui/window/skills_p.mat right=p16 left=p16 width=286><img src=/material/ui/window/skills_p.mat left=p16 right=p0><ret>
<offset hshift=12 vshift=8><img src=/material/ui/icon/skill_%0.mat left=0.5>"

	width: 412
	height: 84
}

ui::button_template : btn.skills.adr {
	name:"ADR skill button"

	n_pml: "<img src=/material/ui/skill_bar1.mat top=p8 left=p8><ret><img src=/material/ui/icon/adr_%0_grey.mat top=p8 left=p8>"
	s_pml: "<img src=/material/ui/skill_bar_s.mat top=p8 left=p8><ret><img src=/material/ui/icon/adr_%0_grey.mat top=p8 left=p8>"

	s2_pml: "<img src=/material/ui/skill_bar_s2.mat top=p8 left=p8><ret><img src=/material/ui/icon/adr_%0.mat top=p8 left=p8>"
	p_pml: "<img src=/material/ui/skill_bar3.mat top=p8 left=p8><ret><img src=/material/ui/icon/adr_%0.mat top=p8 left=p8>"

 	d_pml: "<img src=/material/ui/skill_bar2.mat top=p8 left=p8><ret><img src=/material/ui/icon/adr_%0.mat top=p8 left=p8>"

	width: 48
	height: 48
}


ui::button_template : btn.screenshot {
	name:"Screenshot"
	n_pml:"<img src=/material/ui/white.mat color=FF191919 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><img src=%0></align>"
	s_pml:"<img src=/material/ui/white.mat color=FF191919 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><img src=%0></align>"
	p_pml:"<img src=/material/ui/white.mat color=FF191919 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><img src=%0></align><ret><color value=@@clr_sel@@><img src=/material/ui/white.mat width=2 height=263><img src=/material/ui/white.mat width=416 height=2><ret><offset vshift=261><img src=/material/ui/white.mat width=418 height=2><offset vshift=-261><img src=/material/ui/white.mat width=2 height=263>"
	d_pml:"<img src=/material/ui/white.mat color=FF191919 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><font face=/font/normal.font><color value=@@clr_txt@@>@@screenshotman_empty@@</font></align>"
	width: 420
	height:263
}

ui::button_template : btn.screenshot.del {
	name:"Screenshot delete"
	n_pml:"<img src=/material/ui/button/button_cancel1.mat>"
	s_pml:"<img src=/material/ui/button/button_cancel2.mat>"
	p_pml:"<img src=/material/ui/button/button_cancel1.mat>"
	d_pml:""
	width: 32
	height: 32
}

ui::button_template : btn.screenshot.prev {
	name:"Screenshot preview"
	n_pml:"<img src=/material/ui/button/button_zoom1.mat>"
	s_pml:"<img src=/material/ui/button/button_zoom2.mat>"
	p_pml:"<img src=/material/ui/button/button_zoom1.mat>"
	d_pml:""
	width: 32
	height: 32
}

ui::button_template : btn.screenshot.small {
	name:"Screenshot small"
	n_pml:"<img src=/material/ui/white.mat color=FF191919 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><img src=%0 xscale=stretch yscale=stretch></align>"
	s_pml:"<img src=/material/ui/white.mat color=FF191919 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><img src=%0 xscale=stretch yscale=stretch></align>"
	p_pml:"<img src=/material/ui/white.mat color=FF191919 xscale=stretch yscale=stretch><ret><align hstyle=center vstyle=center><img src=%0 xscale=stretch yscale=stretch></align><ret><color value=@@clr_sel@@><img src=/material/ui/white.mat width=2 height=128><img src=/material/ui/white.mat width=196 height=2><ret><offset vshift=123><img src=/material/ui/white.mat width=198 height=2><offset vshift=-123><img src=/material/ui/white.mat width=2 height=125>"
	width: 200
	height:125
}

ui::button_template : btn.checktext {
	name: "Checkbox with text"
	n_pml: "<align vstyle=center><nowrap><img src=/material/ui/button/checkbox_1.mat><margin left=42><font face=/font/normal.font><color value=@@clr_txt@@>%0</font></margin></nowrap></align>"
	s_pml: "<align vstyle=center><nowrap><img src=/material/ui/button/checkbox_2.mat><margin left=42><font face=/font/normal.font><color value=@@clr_white@@>%0</font></margin></nowrap></align>"
       s2_pml: "<align vstyle=center><nowrap><img src=/material/ui/button/checkbox_4.mat><margin left=42><font face=/font/normal.font><color value=@@clr_white@@>%0</font></margin></nowrap></align>"
	p_pml: "<align vstyle=center><nowrap><img src=/material/ui/button/checkbox_3.mat><margin left=42><font face=/font/normal.font><color value=@@clr_txt@@>%0</font></margin></nowrap></align>"
}

ui::button_template : btn.photo_camera.capture {
	name:"Photo Camera Button Capture"
	n_pml:"<align hstyle=center><img src=/material/ui/button/button_capture.mat width=108 top=p18 height=90 right=p128></align><ret><align hstyle=center vstyle=bottom><font face=/font/big.font><color value=FF00AFFC>%0</font></align>"
	s_pml:"<align hstyle=center><img src=/material/ui/button/button_capture.mat width=108 top=p18 height=90 left=p128></align><ret><align hstyle=center vstyle=bottom><font face=/font/big.font><color value=FF0EEBA5>%0</font></align>"
	p_pml:"<align hstyle=center><img src=/material/ui/button/button_capture.mat width=108 top=p18 height=90 left=p128></align><ret><align hstyle=center vstyle=bottom><font face=/font/big.font><color value=FF0EEBA5>%0</font></align>"
}

ui::button_template : btn.valid_res {
	name:"Validation result"
	d_pml: "<font face=/font/normal.font xscale=0.9><color value=@@clr_txt@@>%0</font>"
	n_pml: "<font face=/font/normal.font xscale=0.9><color value=@@clr_txt@@>%0</font>"
	s_pml: "<font face=/font/normal.font xscale=0.9><color value=@@clr_txt@@>%0</font>"
	p_pml: "<font face=/font/normal.font xscale=0.9><color value=@@clr_txt@@>%0</font>"

	height: 48
}

ui::button_template : btn.news.link {
	name:"News link overlay"
	n_pml:""
	s_pml:""
	p_pml:""
	d_pml:""
}

ui::button_template : btn.mm.arrow_single.left {
	name: "Single arrow left (mod manager)"
	n_pml: "<img src=/material/ui/mod_manager/single_arrow_n.mat left=1 right=0>"
	d_pml: "<img src=/material/ui/mod_manager/single_arrow_n.mat left=1 right=0 color=0x70FFFFFF>"
	p_pml: "<img src=/material/ui/mod_manager/single_arrow_d.mat left=1 right=0>"
	s_pml: "<img src=/material/ui/mod_manager/single_arrow_d.mat left=1 right=0>"

	width:64
	height:64
}

ui::button_template : btn.mm.arrow_single {
	name: "Single arrow (mod manager)"
	n_pml: "<img src=/material/ui/mod_manager/single_arrow_n.mat>"
	d_pml: "<img src=/material/ui/mod_manager/single_arrow_n.mat color=0x70FFFFFF>"
	p_pml: "<img src=/material/ui/mod_manager/single_arrow_d.mat>"
	s_pml: "<img src=/material/ui/mod_manager/single_arrow_d.mat>"

	width:64
	height:64
}

ui::button_template : btn.mm.arrow_multi.left {
	name: "Multi arrow left (mod manager)"
	n_pml: "<img src=/material/ui/mod_manager/multi_arrow_n.mat left=1 right=0>"
	d_pml: "<img src=/material/ui/mod_manager/multi_arrow_n.mat left=1 right=0 color=0x70FFFFFF>"
	p_pml: "<img src=/material/ui/mod_manager/multi_arrow_d.mat left=1 right=0>"
	s_pml: "<img src=/material/ui/mod_manager/multi_arrow_d.mat left=1 right=0>"

	width:64
	height:64
}

ui::button_template : btn.mm.arrow_multi {
	name: "Multi arrow (mod manager)"
	n_pml: "<img src=/material/ui/mod_manager/multi_arrow_n.mat>"
	d_pml: "<img src=/material/ui/mod_manager/multi_arrow_n.mat color=0x70FFFFFF>"
	p_pml: "<img src=/material/ui/mod_manager/multi_arrow_d.mat>"
	s_pml: "<img src=/material/ui/mod_manager/multi_arrow_d.mat>"

	width:64
	height:64
}

ui::button_template : btn.mm.help_wide {
	name: "Help wide button (mod manager)"
	n_pml: "<img src=/material/ui/mod_manager/help_wide_n.mat>"
	d_pml: "<img src=/material/ui/mod_manager/help_wide_n.mat>"
	p_pml: "<img src=/material/ui/mod_manager/help_wide_d.mat>"
	s_pml: "<img src=/material/ui/mod_manager/help_wide_d.mat>"

	width:64
	height:44
}

ui::button_template : btn.mod_tile {
	name: "Mod tile button"
	#####################################
	n_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=%7 color=%8 width=276 height=162></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin></font>"
	#####################################
	d_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=%7 color=%8 width=276 height=162></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin></font>"
	#####################################
	p_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg_a.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=%7 color=%8 width=276 height=162></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin></font>"
	#####################################
	s_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg_h.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=%7 color=%8 width=276 height=162></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin></font>"
	#####################################
	width: 296
	height: 268

}

ui::button_template : btn.mod_tile.workshop {
	name: "Mod tile button - workshop variant"
	#####################################
	n_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=%7 color=%8 width=276 height=162></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin>

<br><offset vshift=-88><margin left=245><img src=/material/ui/mod_manager/button_steam_n.mat width=32 height=32></margin>
</font>"
	#####################################
	d_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=%7 color=%8 width=276 height=162></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin>

<br><offset vshift=-88><margin left=245><img src=/material/ui/mod_manager/button_steam_n.mat width=32 height=32></margin>
</font>"
	#####################################
	p_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg_a.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=%7 color=%8 width=276 height=162></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin>

<br><offset vshift=-88><margin left=245><img src=/material/ui/mod_manager/button_steam_n.mat width=32 height=32></margin>
</font>"
	#####################################
	s_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg_h.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=%7 color=%8 width=276 height=162></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin>

<br><offset vshift=-88><margin left=245><img src=/material/ui/mod_manager/button_steam_n.mat width=32 height=32></margin>
</font>"
	#####################################
	width: 296
	height: 268

}

ui::button_template : btn.mod_tile.workshop.no_content {
	name: "Mod tile button - workshop no content variant"
	#####################################
	n_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=/material/ui/white.mat color=FF000000 width=276 height=162></margin><ret>
<margin left=120><offset vshift=90><img src=/material/ui/wait.mat></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin>

<br><offset vshift=-88><margin left=245><img src=/material/ui/mod_manager/button_steam_n.mat width=32 height=32></margin>
</font>"
	#####################################
	d_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=/material/ui/white.mat color=FF000000 width=276 height=162></margin><ret>
<margin left=120><offset vshift=90><img src=/material/ui/wait.mat></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin>

<br><offset vshift=-88><margin left=245><img src=/material/ui/mod_manager/button_steam_n.mat width=32 height=32></margin>
</font>"
	#####################################
	p_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg_a.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=/material/ui/white.mat color=FF000000 width=276 height=162></margin><ret>
<margin left=120><offset vshift=90><img src=/material/ui/wait.mat></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin>

<br><offset vshift=-88><margin left=245><img src=/material/ui/mod_manager/button_steam_n.mat width=32 height=32></margin>
</font>"
	#####################################
	s_pml: "<font face=/font/small.font><img src=/material/ui/mod_manager/mod_tile_bg_h.mat right=p296 bottom=p268 top=0 left=0><offset vshift=10><margin left=10><img src=/material/ui/mod_manager/star_%6.mat></margin><margin left=47><img src=/material/ui/mod_manager/button_info_%9.mat></margin><ret>
<offset vshift=18><margin left=30><align hstyle=right right=245><color value=@@clr_txt@@>%5</align></margin><ret>

<margin left=10><offset vshift=48><img src=/material/ui/white.mat color=FF000000 width=276 height=162></margin><ret>
<margin left=120><offset vshift=90><img src=/material/ui/wait.mat></margin>

<align vstyle=bottom bottom=258><margin left=10><img src=/material/ui/button/mod_manager_%2.mat></margin></align>

<color value=@@clr_sel@@><margin left=50>%0</margin>

<color value=%1><offset vshift=16><margin left=50>%3</margin>

<margin left=155><align hstyle=right right=130><color value=@@clr_txt@@>%4</align></margin>

<br><offset vshift=-88><margin left=245><img src=/material/ui/mod_manager/button_steam_n.mat width=32 height=32></margin>
</font>"
	#####################################
	width: 296
	height: 268

}

ui::button_template : btn.enabled_mod {
	name: "Enabled mod button"

	n_pml: "<img src=/material/ui/button/mod_enabled_normal.mat><ret><offset vshift=10><margin left=10><img src=%2 color=%3 width=75 height=44><offset vshift=-10><margin left=80 right=%4><font face=/font/small.font><color value=@@clr_txt@@><align vstyle=center>%0</align></font></margin></margin><ret><offset vshift=17><margin left=250><img src=/material/ui/mod_manager/%1.mat></margin>"
	d_pml: "<img src=/material/ui/button/mod_enabled_normal.mat><ret><offset vshift=10><margin left=10><img src=%2 color=%3 width=75 height=44><offset vshift=-10><margin left=80 right=%4><font face=/font/small.font><color value=@@clr_txt@@><align vstyle=center>%0</align></font></margin></margin><ret><offset vshift=17><margin left=250><img src=/material/ui/mod_manager/%1.mat></margin>"
	p_pml: "<img src=/material/ui/button/mod_enabled_active.mat><ret><offset vshift=10><margin left=10><img src=%2 color=%3 width=75 height=44><offset vshift=-10><margin left=80 right=%4><font face=/font/small.font><color value=@@clr_txt@@><align vstyle=center>%0</align></font></margin></margin><ret><offset vshift=17><margin left=250><img src=/material/ui/mod_manager/%1.mat></margin>"
	s_pml: "<img src=/material/ui/button/mod_enabled_hover.mat><ret><offset vshift=10><margin left=10><img src=%2 color=%3 width=75 height=44><offset vshift=-10><margin left=80 right=%4><font face=/font/small.font><color value=@@clr_txt@@><align vstyle=center>%0</align></font></margin></margin><ret><offset vshift=17><margin left=250><img src=/material/ui/mod_manager/%1.mat></margin>"

	width: 296
	height: 64
}

##
# Loading screens browser template
#
# Keep btn.list.item.lscr_browser.loading and btn.list.item.lscr_browser in sync (besides the image)
##

ui::button_template : btn.list.item.lscr_browser {
	name: 	"Loading screens browser button"
	n_pml: 	"<img src=/material/ui/loadings_browser/tile_bg.mat><ret><img src=%0 width=350 height=130><ret>
			<ret><offset vshift=144><margin left=10 right=335><font face=/font/big.font><color value=@@clr_sel@@>%1</margin></font>"

	d_pml: 	"<img src=/material/ui/loadings_browser/tile_bg.mat><ret><img src=%0 width=350 height=130><ret>
			<ret><offset vshift=144><margin left=10 right=335><font face=/font/big.font><color value=@@clr_sel@@>%1</margin></font>"

	p_pml: 	"<img src=/material/ui/loadings_browser/tile_bg.mat><ret><img src=%0 width=350 height=130><ret><img src=/material/ui/white.mat color=FF00AEFF width=350 height=5><ret>
			<ret><offset vshift=144><margin left=10 right=335><font face=/font/big.font><color value=@@clr_sel@@>%1</margin></font>"

	s_pml: 	"<img src=/material/ui/loadings_browser/tile_bg.mat><ret><img src=%0 width=350 height=130><ret><img src=/material/ui/white.mat color=FF00AEFF width=350 height=5><ret>
			<ret><offset vshift=144><margin left=10 right=335><font face=/font/big.font><color value=@@clr_sel@@>%1</margin></font>"

	width: 	350
	height:	174
}

ui::button_template : btn.list.item.lscr_browser.loading {
	name: "Loading screens browser butto - Loading"
	n_pml: "<img src=/material/ui/loadings_browser/tile_bg.mat><ret><img src=/material/ui/white.mat color=FF000000 width=350 height=130><ret><offset vshift=35><margin left=140><img src=/material/ui/wait.mat></margin><ret><offset vshift=144><margin left=10 right=335><font face=/font/big.font><color value=@@clr_sel@@>%0</margin></font>"

	d_pml: "<img src=/material/ui/loadings_browser/tile_bg.mat><ret><img src=/material/ui/white.mat color=FF000000 width=350 height=130><ret><offset vshift=35><margin left=140><img src=/material/ui/wait.mat></margin><ret><offset vshift=144><margin left=10 right=335><font face=/font/big.font><color value=@@clr_sel@@>%0</margin></font>"

	p_pml: "<img src=/material/ui/loadings_browser/tile_bg.mat><ret><img src=/material/ui/white.mat color=FF000000 width=350 height=130><ret><img src=/material/ui/white.mat color=FF00AEFF width=350 height=5><ret><offset vshift=35><margin left=140><img src=/material/ui/wait.mat></margin><ret><offset vshift=144><margin left=10 right=335><font face=/font/big.font><color value=@@clr_sel@@>%0</margin></font>"

	s_pml: "<img src=/material/ui/loadings_browser/tile_bg.mat><ret><img src=/material/ui/white.mat color=FF000000 width=350 height=130><ret><img src=/material/ui/white.mat color=FF00AEFF width=350 height=5><ret><offset vshift=35><margin left=140><img src=/material/ui/wait.mat></margin><ret><offset vshift=144><margin left=10 right=335><font face=/font/big.font><color value=@@clr_sel@@>%0</margin></font>"

	width: 350
	height:174
}

ui::button_template : btn.open.preview {
	name: "Open preview button"

	n_pml: "<img src=/material/ui/button/full_1.mat>"
	s_pml: "<img src=/material/ui/button/full_2.mat>"
	p_pml: "<img src=/material/ui/button/full_1.mat>"
	d_pml: "<img src=/material/ui/button/full_1.mat color=31FFFFFF>"

	width: 32
	height: 32
}

ui::button_template : btn.open.profile {
	name: "Open profile button"

	n_pml: "<img src=/material/ui/button/play_1.mat>"
	s_pml: "<img src=/material/ui/button/play_2.mat>"
	p_pml: "<img src=/material/ui/button/play_1.mat>"
	d_pml: "<img src=/material/ui/button/play_1.mat color=31FFFFFF>"

	width: 32
	height: 32
}

ui::button_template : btn.parking_diff {
	name: "Parking difficulty"
	n_pml: "<img src=/material/ui/button/parking_diff_%0.mat><ret><offset vshift=4 hshift=12><font face=big.font>%1<ret><offset vshift=4 hshift=440>+ <color value=@@clr_sel@@>%2 @@xp@@</font>"
	s_pml: "<img src=/material/ui/button/parking_diff_%0_s.mat><ret><offset vshift=4 hshift=12><font face=big.font>%1<ret><offset vshift=4 hshift=440>+ <color value=@@clr_sel@@>%2 @@xp@@</font>"
	s2_pml: "<img src=/material/ui/button/parking_diff_%0_s.mat><ret><offset vshift=4 hshift=12><font face=big.font>%1<ret><offset vshift=4 hshift=440>+ <color value=@@clr_sel@@>%2 @@xp@@<ret><img src=/material/ui/white.mat color=@@clr_sel@@ height=114 width=2><img src=/material/ui/white.mat color=@@clr_sel@@ height=2 width=508><img src=/material/ui/white.mat color=@@clr_sel@@ height=114 width=2><ret><offset vshift=112 hshift=2><img src=/material/ui/white.mat color=@@clr_sel@@ height=2 width=508></font>"
	p_pml: "<img src=/material/ui/button/parking_diff_%0.mat><ret><offset vshift=4 hshift=12><font face=big.font>%1<ret><offset vshift=4 hshift=440>+ <color value=@@clr_sel@@>%2 @@xp@@<ret><img src=/material/ui/white.mat color=@@clr_sel@@ height=114 width=2><img src=/material/ui/white.mat color=@@clr_sel@@ height=2 width=508><img src=/material/ui/white.mat color=@@clr_sel@@ height=114 width=2><ret><offset vshift=112 hshift=2><img src=/material/ui/white.mat color=@@clr_sel@@ height=2 width=508></font>"
	d_pml: "<img src=/material/ui/button/parking_diff_%0.mat><ret><offset vshift=4 hshift=12><font face=big.font>%1<ret><offset vshift=4 hshift=440>+ <color value=@@clr_sel@@>%2 @@xp@@<ret><img src=/material/ui/white.mat color=E3000000 width=512 height=114></font>"

	height: 114
	width: 512
}

####################################
# Missing dependencies
####################################

ui::button_template : btn.missing_deps.item {
	name:"Missing dependencies - Item"
	n_pml:
"<offset hshift=20><align hstyle=left vstyle=center><font face=/font/normal.font>%0<ret><offset hshift=418>%1</font></align>"
	s_pml:
"<img src=/material/ui/button/btn_list_s.mat left=1 right=0><img src=/material/ui/button/btn_list_s.mat right=0 width=376><img src=/material/ui/button/btn_list_s.mat><offset hshift=3><img src=/material/ui/button/btn_list_s.mat left=1 right=0><img src=/material/ui/button/btn_list_s.mat right=0 width=229><img src=/material/ui/button/btn_list_s.mat>
<ret><offset hshift=20><align hstyle=left vstyle=center><font face=/font/normal.font>%0<ret><offset hshift=418>%1</font></align>"
       s2_pml:
"<img src=/material/ui/button/btn_list_p.mat left=1 right=0><img src=/material/ui/button/btn_list_p.mat right=0 width=376><img src=/material/ui/button/btn_list_p.mat><offset hshift=3><img src=/material/ui/button/btn_list_p.mat left=1 right=0><img src=/material/ui/button/btn_list_p.mat right=0 width=229><img src=/material/ui/button/btn_list_p.mat>
<ret><offset hshift=20><align hstyle=left vstyle=center><font face=/font/normal.font>%0<ret><offset hshift=418>%1</font></align>"
	p_pml:
"<img src=/material/ui/button/btn_list_p.mat left=1 right=0><img src=/material/ui/button/btn_list_p.mat right=0 width=376><img src=/material/ui/button/btn_list_p.mat><offset hshift=3><img src=/material/ui/button/btn_list_p.mat left=1 right=0><img src=/material/ui/button/btn_list_p.mat right=0 width=229><img src=/material/ui/button/btn_list_p.mat>
<ret><offset hshift=20><align hstyle=left vstyle=center><font face=/font/normal.font>%0<ret><offset hshift=418>%1</font></align>"
	d_pml:
""
	height: 32
}

ui::button_template : btn.missing_ctrl.item {
	name: "Missing Controller - Item"
	n_pml: "<offset vshift=1><img src=/material/ui/button/btn_list.mat xscale=stretch height=30><ret><offset hshift=10><align vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font><nowrap><verbatim>%0</verbatim></nowrap></font></align>"
	s_pml: "<offset vshift=1><img src=/material/ui/button/btn_list.mat xscale=stretch height=30><ret><offset hshift=10><align vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font><nowrap><verbatim>%0</verbatim></nowrap></font></align>"
	p_pml: "<offset vshift=1><img src=/material/ui/button/btn_list.mat xscale=stretch height=30><ret><offset hshift=10><align vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font><nowrap><verbatim>%0</verbatim></nowrap></font></align>"
	d_pml: "<offset vshift=1><img src=/material/ui/button/btn_list.mat xscale=stretch height=30><ret><offset hshift=10><align vstyle=center><color value=@@clr_txt@@><font face=/font/normal.font><nowrap><verbatim>%0</verbatim></nowrap></font></align>"
	height: 32
}

ui::button_template : btn.dsktp_jobinf {
	name:"Desktop job info"
	n_pml:"<align hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><margin left=74><offset vshift=-109><align vstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></align></margin><ret><offset vshift=75><font face=/font/normal.font><color value=@@clr_txt@@>@@cargo_name@@: <color value=@@clr_white@@>%2<br><color value=@@clr_txt@@>@@job_from@@: <color value=@@clr_white@@>%3<br><color value=@@clr_txt@@>@@job_to@@: <color value=@@clr_white@@>%4<br><color value=@@clr_txt@@>@@job_time_remain@@: <color value=@@clr_white@@>%5<br><color value=@@clr_txt@@>@@job_income@@: <color value=@@clr_white@@>%6</font>"

	s_pml:"<align hstyle=left><img src=/material/ui/link/%0.mat left=0.5></align><margin left=74><offset vshift=-109><align vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%1</font></align></margin><ret><offset vshift=75><font face=/font/normal.font><color value=@@clr_txt@@>@@cargo_name@@: <color value=@@clr_white@@>%2<br><color value=@@clr_txt@@>@@job_from@@: <color value=@@clr_white@@>%3<br><color value=@@clr_txt@@>@@job_to@@: <color value=@@clr_white@@>%4<br><color value=@@clr_txt@@>@@job_time_remain@@: <color value=@@clr_white@@>%5<br><color value=@@clr_txt@@>@@job_income@@: <color value=@@clr_white@@>%6</font>"

	p_pml:"<align hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><margin left=74><offset vshift=-109><align vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%1</font></align></margin><ret><offset vshift=75><font face=/font/normal.font><color value=@@clr_txt@@>@@cargo_name@@: <color value=@@clr_white@@>%2<br><color value=@@clr_txt@@>@@job_from@@: <color value=@@clr_white@@>%3<br><color value=@@clr_txt@@>@@job_to@@: <color value=@@clr_white@@>%4<br><color value=@@clr_txt@@>@@job_time_remain@@: <color value=@@clr_white@@>%5<br><color value=@@clr_txt@@>@@job_income@@: <color value=@@clr_white@@>%6</font>"

	d_pml:"<color value=40FFFFFF><align vstyle=center hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><ret><margin left=74><align vstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></margin>"
}

ui::button_template : btn.job_cust {
	name: "Job customization"
	n_pml: "<img src=/material/ui/button/customize_n.mat>"
	s_pml: "<img src=/material/ui/button/customize_s.mat>"
	p_pml: "<img src=/material/ui/button/customize_p.mat>"
	width: 32
	height:32
}

ui::button_template : btn.trailer_cust {
	name: "Trailer Customization"
	n_pml: "<img src=/material/ui/button/online_truck_n.mat><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0><img src=/material/ui/button/online_truck_n.mat top=8p left=8p width=562 height=284><ret><offset vshift=292><img src=/material/ui/button/online_truck_n.mat top=1 bottom=0><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0 top=1 bottom=0>"
	s_pml: "<img src=/material/ui/button/online_truck_n.mat><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0><img src=/material/ui/button/online_truck_n.mat top=8p left=8p width=562 height=284><ret><offset vshift=292><img src=/material/ui/button/online_truck_n.mat top=1 bottom=0><img src=/material/ui/button/online_truck_n.mat left=8p width=-8><img src=/material/ui/button/online_truck_n.mat left=1 right=0 top=1 bottom=0><ret><offset hshift=10><img src=/material/ui/white.mat height=2 width=542 color=@@clr_sel@@>"
       s2_pml: "<img src=/material/ui/button/online_truck_p.mat><img src=/material/ui/button/online_truck_p.mat left=8p width=-8><img src=/material/ui/button/online_truck_p.mat left=1 right=0><img src=/material/ui/button/online_truck_p.mat top=8p left=8p width=562 height=284><ret><offset vshift=292><img src=/material/ui/button/online_truck_p.mat top=1 bottom=0><img src=/material/ui/button/online_truck_p.mat left=8p width=-8><img src=/material/ui/button/online_truck_p.mat left=1 right=0 top=1 bottom=0><ret><offset hshift=10><img src=/material/ui/white.mat height=2 width=542 color=@@clr_sel@@>"
	p_pml: "<img src=/material/ui/button/online_truck_p.mat><img src=/material/ui/button/online_truck_p.mat left=8p width=-8><img src=/material/ui/button/online_truck_p.mat left=1 right=0><img src=/material/ui/button/online_truck_p.mat top=8p left=8p width=562 height=284><ret><offset vshift=292><img src=/material/ui/button/online_truck_p.mat top=1 bottom=0><img src=/material/ui/button/online_truck_p.mat left=8p width=-8><img src=/material/ui/button/online_truck_p.mat left=1 right=0 top=1 bottom=0>"
	width: 562
	height: 300
}

ui::button_template : btn.truck_config.package.filter.entry
{
	name: "Truck config filtering - package entry"

	n_pml: "<color value=80%2%2%2><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><color value=FFFFFFFF><offset hshift=43 vshift=4><img src=%0 width=32 height=32><offset hshift=10 vshift=-4><align vstyle=center><font face=/font/normal.font>%1</font></align>"
	s_pml: "<color value=80%2%2%2><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><color value=FFFFFFFF><offset hshift=43 vshift=4><img src=%0 width=32 height=32><offset hshift=10 vshift=-4><align vstyle=center><font face=/font/normal.font>%1</font></align>"
	p_pml: "<color value=80%2%2%2><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><color value=FFFFFFFF><offset hshift=43 vshift=4><img src=%0 width=32 height=32><offset hshift=10 vshift=-4><align vstyle=center><font face=/font/normal.font>%1</font></align>"
	d_pml: "<color value=80%2%2%2><img src=/material/ui/white.mat xscale=stretch yscale=stretch><ret><color value=FFFFFFFF><offset hshift=43 vshift=4><img src=%0 width=32 height=32><offset hshift=10 vshift=-4><align vstyle=center><font face=/font/normal.font>%1</font></align>"
}

ui::button_template : btn.truck_config.package.filter
{
	name: "Package filters button"
	n_pml: "<img src=/material/ui/truck_config/accessory_filters_normal.mat color=C0FFFFFF>"
	s_pml: "<img src=/material/ui/truck_config/accessory_filters_normal.mat color=FFFFFFFF>"
	p_pml: "<img src=/material/ui/truck_config/accessory_filters_active.mat>"
	d_pml: "<img src=/material/ui/truck_config/accessory_filters_normal.mat color=40FFFFFF>"

	width: 32
	height: 32
}


ui::button_template : btn.truck_config.package.filter.active
{
	name: "Package filters active button"
	n_pml: "<img src=/material/ui/truck_config/accessory_filters_active_normal.mat color=C0FFFFFF>"
	s_pml: "<img src=/material/ui/truck_config/accessory_filters_active_normal.mat color=FFFFFFFF>"
	p_pml: "<img src=/material/ui/truck_config/accessory_filters_active.mat>"
	d_pml: "<img src=/material/ui/truck_config/accessory_filters_active_normal.mat color=40FFFFFF>"

	width: 32
	height: 32
}


ui::button_template : btn.input.clear
{
	name: "Input clear button"
	n_pml: "<img src=/material/ui/button/input_clear.mat color=5CFFFFFF>"
	s_pml: "<img src=/material/ui/button/input_clear.mat color=73FFFFFF>"
	p_pml: "<img src=/material/ui/button/input_clear.mat>"
	d_pml: "<img src=/material/ui/button/input_clear.mat color=19FFFFFF>>"

	width: 16
	height: 16
}


ui::button_template : btn.online.connect.content.row
{
	name: "Online connect content row"
	n_pml: "<color value=8C090909><offset vshift=1><img src=/material/ui/white.mat width=1 height=-1><offset vshift=-1><img src=/material/ui/white.mat yscale=stretch width=-1><offset vshift=1><img src=/material/ui/white.mat width=1 height=-1><ret><align vstyle=center left=20><color value=@@clr_txt@@><font face=/font/normal.font>%0</font></align>"
	s_pml: "<color value=8C090909><offset vshift=1><img src=/material/ui/white.mat width=1 height=-1><offset vshift=-1><img src=/material/ui/white.mat yscale=stretch width=-1><offset vshift=1><img src=/material/ui/white.mat width=1 height=-1><ret><align vstyle=center left=20><color value=@@clr_txt@@><font face=/font/normal.font>%0</font></align>"
	p_pml: "<color value=8C090909><offset vshift=1><img src=/material/ui/white.mat width=1 height=-1><offset vshift=-1><img src=/material/ui/white.mat yscale=stretch width=-1><offset vshift=1><img src=/material/ui/white.mat width=1 height=-1><ret><align vstyle=center left=20><color value=@@clr_txt@@><font face=/font/normal.font>%0</font></align>"
	d_pml: "<color value=8C090909><offset vshift=1><img src=/material/ui/white.mat width=1 height=-1><offset vshift=-1><img src=/material/ui/white.mat yscale=stretch width=-1><offset vshift=1><img src=/material/ui/white.mat width=1 height=-1><ret><align vstyle=center left=20><color value=@@clr_txt@@><font face=/font/normal.font>%0</font></align>"

	height: 32
}

# Online connected content browser link
ui::button_template : btn.list.item.online.content.browser {
	name: "DLC Browser button"
	n_pml: "<img src=%0 width=350 height=130>"
	s_pml: "<img src=%0 width=350 height=130>"
	p_pml: "<img src=%0 width=350 height=130>"
	d_pml: "<img src=%0 width=350 height=130>"

	width: 350
	height:172
}


ui::button_template : btn.problem.noeffect {
	name: "Problem button - no effect"
	n_pml: "<img src=/material/ui/save_warning.mat>"
	s_pml: "<img src=/material/ui/save_warning.mat>"
	p_pml: "<img src=/material/ui/save_warning.mat>"
	d_pml: "<img src=/material/ui/save_warning.mat>"

	width: 32
	height: 32
}

ui::button_template : btn.bcg_sel {
	name: "Background selection"
	n_pml: "<nowrap><img src=%0></nowrap>"
	s_pml: "<nowrap><img src=%0><ret><img src=/material/ui/white.mat color=04FFFFFF xscale=stretch yscale=stretch></nowrap>"
	p_pml: "<nowrap><img src=%0><ret><color value=@@clr_sel@@><img src=/material/ui/white.mat width=112 height=2><ret><img src=/material/ui/white.mat width=2 height=112><ret><offset vshift=110><img src=/material/ui/white.mat width=112 height=2><ret><offset hshift=110><img src=/material/ui/white.mat width=2 height=112></nowrap>"
	width: 112
	height:112
}

ui::button_template : btn.truck_conf.h_ana {
	name: "Truck Config Red Button"
	n_pml: "<nowrap><img src=/material/ui/truck_config/btn_fold.mat></nowrap>"
	s_pml: "<nowrap><img src=/material/ui/truck_config/btn_hover.mat top=p19 bottom=p0></nowrap>"
	p_pml: "<nowrap><img src=/material/ui/truck_config/btn_hover.mat top=p19 bottom=p0></nowrap>"
	width: 32
	height:20
}

ui::button_template : btn.truck_conf.s_ana {
	name: "Truck Config Green Button"
	n_pml: "<nowrap><img src=/material/ui/truck_config/btn_unfold.mat></nowrap>"
	s_pml: "<nowrap><img src=/material/ui/truck_config/btn_hover.mat></nowrap>"
	p_pml: "<nowrap><img src=/material/ui/truck_config/btn_hover.mat></nowrap>"
	width: 32
	height:20
}

ui::button_template : btn.dsktp_bjinf {
	name:"Desktop bus job info"
	n_pml:"<align hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><margin left=74><offset vshift=-109><align vstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></align></margin><ret><offset vshift=75><font face=/font/normal.font><color value=@@clr_txt@@>@@next_stop@@: <color value=@@clr_white@@>%2<br><color value=@@clr_txt@@>@@arrival@@: <color value=@@clr_white@@>%3<br><color value=@@clr_txt@@>@@stops_complete@@: <color value=@@clr_white@@>%4<br><color value=@@clr_txt@@>@@passenger_satisfaction@@: <color value=@@clr_white@@>%5<br><color value=@@clr_txt@@>@@job_income@@: <color value=@@clr_white@@>%6</font>"
	s_pml:"<align hstyle=left><img src=/material/ui/link/%0.mat left=0.5></align><margin left=74><offset vshift=-109><align vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%1</font></align></margin><ret><offset vshift=75><font face=/font/normal.font><color value=@@clr_txt@@>@@next_stop@@: <color value=@@clr_white@@>%2<br><color value=@@clr_txt@@>@@arrival@@: <color value=@@clr_white@@>%3<br><color value=@@clr_txt@@>@@stops_complete@@: <color value=@@clr_white@@>%4<br><color value=@@clr_txt@@>@@passenger_satisfaction@@: <color value=@@clr_white@@>%5<br><color value=@@clr_txt@@>@@job_income@@: <color value=@@clr_white@@>%6</font>"
	p_pml:"<align hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><margin left=74><offset vshift=-109><align vstyle=center><color value=@@clr_sel@@><font face=/font/normal.font>%1</font></align></margin><ret><offset vshift=75><font face=/font/normal.font><color value=@@clr_txt@@>@@next_stop@@: <color value=@@clr_white@@>%2<br><color value=@@clr_txt@@>@@arrival@@: <color value=@@clr_white@@>%3<br><color value=@@clr_txt@@>@@stops_complete@@: <color value=@@clr_white@@>%4<br><color value=@@clr_txt@@>@@passenger_satisfaction@@: <color value=@@clr_white@@>%5<br><color value=@@clr_txt@@>@@job_income@@: <color value=@@clr_white@@>%6</font>"
	d_pml:"<color value=40FFFFFF><align vstyle=center hstyle=left><img src=/material/ui/link/%0.mat right=0.5></align><ret><margin left=74><align vstyle=center><color value=@@clr_white@@><font face=/font/normal.font>%1</font></margin>"
}

ui::button_template : btn.event.widget
{
	name: "Event widget button"

	n_pml: "<img src=/material/ui/window/widget_simple_corner.mat width=16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 width=-16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 right=0 bottom=p12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=0.99 width=-16 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=1 right=0 height=-12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 width=-16 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 right=0 top=p12><ret><align vstyle=center hstyle=left><offset hshift=20><img src=/material/ui/weblinks/wotr_n.mat width=18 height=18 color=FFFFFFFF><offset hshift=10><font face=/font/normal.font><color value=@@clr_sel@@>@@event@@: <color value=@@clr_txt@@>%0</font></align><ret><color value=@@clr_sel@@><align vstyle=center hstyle=left left=320><font face=/font/normal.font><offset vshift=8>@@event_progress@@: <color value=@@%1@@>%2</font></align><ret><align vstyle=center hstyle=right right=-15><img src=/material/ui/arrow_small_vertical.mat top=%3 bottom=%4 color=@@clr_sel@@></align>"

	p_pml: "<img src=/material/ui/window/widget_simple_corner.mat width=16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 width=-16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat left=1 right=0 bottom=p12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=0.99 width=-16 height=-12><img src=/material/ui/window/widget_simple_corner.mat top=1 left=1 right=0 height=-12><br><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 width=-16 top=p12><img src=/material/ui/window/widget_simple_corner.mat top=1 bottom=0 left=1 right=0 top=p12><ret><align vstyle=center hstyle=left><offset hshift=20><img src=/material/ui/weblinks/wotr_n.mat width=18 height=18 color=FFFFFFFF><offset hshift=10><font face=/font/normal.font><color value=@@clr_sel@@>@@event@@: <color value=@@clr_txt@@>%0</font></align><ret><color value=@@clr_sel@@><align vstyle=center hstyle=left left=320><font face=/font/normal.font><offset vshift=8>@@event_progress@@: <color value=@@%1@@>%2</font></align><ret><align vstyle=center hstyle=right right=-15><img src=/material/ui/arrow_small_vertical.mat top=%3 bottom=%4 color=@@clr_sel@@></align>"

	s_pml: "<img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF width=16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF left=1 width=-16 bottom=p12><img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF left=1 right=0 bottom=p12><br><img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF top=1 height=-12><img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF top=1 left=0.99 width=-16 height=-12><img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF top=1 left=1 right=0 height=-12><br><img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF top=1 bottom=0 top=p12><img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF top=1 bottom=0 left=1 width=-16 top=p12><img src=/material/ui/window/widget_simple_corner.mat color=89FFFFFF top=1 bottom=0 left=1 right=0 top=p12><ret><align vstyle=center hstyle=left><offset hshift=20><img src=/material/ui/weblinks/wotr_n.mat width=18 height=18 color=FFFFFFFF><offset hshift=10><font face=/font/normal.font><color value=@@clr_sel@@>@@event@@: <color value=@@clr_txt@@>%0</font></align><ret><color value=@@clr_sel@@><align vstyle=center hstyle=left left=320><font face=/font/normal.font><offset vshift=8>@@event_progress@@: <color value=@@%1@@>%2</font></align><ret><align vstyle=center hstyle=right right=-15><img src=/material/ui/arrow_small_vertical.mat top=%3 bottom=%4 color=@@clr_sel@@></align>"

}


ui::button_template : btn.garagedetail.slot {
	name: "Garage manager - slot"
	n_pml: "<img src=/material/ui/button/profile0.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile0.mat left=p16 bottom=p110 height=96 width=-16 yscale=stretch><img src=/material/ui/button/profile0.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	s_pml: "<img src=/material/ui/button/pic_frame_s_driver.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/pic_frame_s_driver.mat left=p16 bottom=p110 height=96 width=-16 yscale=stretch><img src=/material/ui/button/pic_frame_s_driver.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	s2_pml: "<img src=/material/ui/button/profile2.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile2.mat left=p16 bottom=p110 height=96 width=-16 yscale=stretch><img src=/material/ui/button/profile2.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	p_pml: "<img src=/material/ui/button/profile2.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile2.mat left=p16 bottom=p110 height=96 width=-16 yscale=stretch><img src=/material/ui/button/profile2.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"
	d_pml: "<img src=/material/ui/button/profile0.mat bottom=p110 height=96 yscale=stretch><img src=/material/ui/button/profile0.mat left=p16 bottom=p110 height=96 width=-16 yscale=stretch><img src=/material/ui/button/profile0.mat left=1 right=0 bottom=p110 height=96 yscale=stretch>"

	width: 182
	height: 97
}


ui::button_template : btn.graph.pin.small {
	name: "Graph pin - small"
	n_pml: "<img src=/material/ui/button/city_2.mat xscale=stretch yscale=stretch>"
	s_pml: "<img src=/material/ui/button/city_0.mat xscale=stretch yscale=stretch>"
    s2_pml: "<img src=/material/ui/button/city_0.mat xscale=stretch yscale=stretch>"
	p_pml: "<img src=/material/ui/button/city_2.mat xscale=stretch yscale=stretch>"
}


ui::button_template : btn.operation {
	name: "Operation button single"

	n_pml: "<img src=/material/ui/button/operation_button_link.mat right=0.5>"
	s_pml: "<img src=/material/ui/button/operation_button_link.mat left=0.5>"
	p_pml: "<img src=/material/ui/button/operation_button_link.mat right=0.5>"
	d_pml: "<color value=35FFFFFF><img src=/material/ui/button/operation_button_link.mat right=0.5>"

	width: 64
	height: 64
}

ui::button_template : btn.online.dealer.entry {
	name: "Online dealer entry button"

	n_pml: "<color value=FF2A2A2A><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret><offset vshift=1><img src=/material/ui/white.mat xscale=stretch height=-1><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret>

<offset vshift=6><img color=A0171717 src=/material/ui/white.mat xscale=stretch height=30><ret>
<offset hshift=19 vshift=13><font face=/font/normal.font><color value=@@clr_txt@@>%0</font>
<align hstyle=right right=-19><font face=/font/normal.font><color value=@@clr_txt@@>%1<color value=@@clr_sel@@>%2</font></align>"

	s_pml: "<color value=ED4D4D4D><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret><offset vshift=1><img src=/material/ui/white.mat xscale=stretch height=-1><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret>
<color value=FF2A2A2A><offset hshift=6 vshift=6><img src=/material/ui/white.mat width=-6 height=-6><ret>
<offset hshift=6 vshift=6><img color=A0171717 src=/material/ui/white.mat width=-6 height=30><ret>
<offset hshift=19 vshift=13><font face=/font/normal.font><color value=@@clr_txt@@>%0</font>
<align hstyle=right right=-19><font face=/font/normal.font><color value=@@clr_txt@@>%1<color value=@@clr_sel@@>%2</font></align>"

	p_pml: "<color value=FF2A2A2A><offset vshift=1><img src=/material/ui/white.mat xscale=stretch height=-2><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret>
<color value=@@clr_sel@@><offset vshift=1><img src=/material/ui/white.mat width=1 height=5><offset vshift=-1>
<img src=/material/ui/white.mat width=-1 height=6><offset vshift=1><img src=/material/ui/white.mat width=1 height=5><ret>

<offset vshift=6><img color=A0171717 src=/material/ui/white.mat xscale=stretch height=30><ret>
<offset hshift=19 vshift=13><font face=/font/normal.font><color value=@@clr_txt@@>%0</font>
<align hstyle=right right=-19><font face=/font/normal.font><color value=@@clr_txt@@>%1<color value=@@clr_sel@@>%2</font></align>"

	d_pml: "<color value=FF2A2A2A><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret><offset vshift=1><img src=/material/ui/white.mat xscale=stretch height=-1><offset hshift=1><img src=/material/ui/white.mat width=-1 height=1><ret>

<offset vshift=6><img color=A0171717 src=/material/ui/white.mat xscale=stretch height=30><ret>
<offset hshift=19 vshift=13><font face=/font/normal.font><color value=@@clr_txt@@>%0</font>
<align hstyle=right right=-19><font face=/font/normal.font><color value=@@clr_txt@@>%1<color value=@@clr_sel@@>%2</font></align>"

	width: 562
	height: 256
}

ui::button_template : btn.assistent.link {
	name: "Assistant link button"
	n_pml: "<align hstyle=center>
<img src=/material/ui/assistant/impulse_bg.mat><img src=/material/ui/assistant/impulse_bg.mat right=1 left=p3 width=-50><img src=/material/ui/assistant/impulse_bg.mat right=0 left=1></align><ret>
<align hstyle=center><offset vshift=1><color value=FF000000><font face=/font/big.font>%2</font></align><ret>
<color value=FFFFFFFF><offset vshift=35><align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><offset vshift=105><align hstyle=center><font face=/font/small.font>%1</font></align>"

	s_pml:"<align hstyle=center>
<img src=/material/ui/assistant/impulse_bg.mat><img src=/material/ui/assistant/impulse_bg.mat right=1 left=p3 width=-50><img src=/material/ui/assistant/impulse_bg.mat right=0 left=1></align><ret>
<align hstyle=center><offset vshift=1><color value=FF000000><font face=/font/big.font>%2</font></align><ret>
<color value=FFFFFFFF><offset vshift=35><align hstyle=center><img src=/material/ui/link/%0.mat left=0.5></align><ret><offset vshift=105><align hstyle=center><font face=/font/small.font>%1</font></align>"

    s2_pml:"<align hstyle=center>
<img src=/material/ui/assistant/impulse_bg.mat><img src=/material/ui/assistant/impulse_bg.mat right=1 left=p3 width=-50><img src=/material/ui/assistant/impulse_bg.mat right=0 left=1></align><ret>
<align hstyle=center><offset vshift=1><color value=FF000000><font face=/font/big.font>%2</font></align><ret>
<color value=FFFFFFFF><offset vshift=35><align hstyle=center><img src=/material/ui/link/%0.mat left=0.5></align><ret><offset vshift=105><align hstyle=center><font face=/font/small.font>%1</font></align>"

	p_pml:"<align hstyle=center>
<img src=/material/ui/assistant/impulse_bg.mat><img src=/material/ui/assistant/impulse_bg.mat right=1 left=p3 width=-50><img src=/material/ui/assistant/impulse_bg.mat right=0 left=1></align><ret>
<align hstyle=center><offset vshift=1><color value=FF000000><font face=/font/big.font>%2</font></align><ret>
<color value=FFFFFFFF><offset vshift=35><align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><offset vshift=105><align hstyle=center><font face=/font/small.font>%1</font></align>"

	d_pml:"<color value=40FFFFFF><align hstyle=center>
<img src=/material/ui/assistant/impulse_bg.mat><img src=/material/ui/assistant/impulse_bg.mat right=1 left=p3 width=-50><img src=/material/ui/assistant/impulse_bg.mat right=0 left=1></align><ret>
<align hstyle=center><offset vshift=1><color value=FF000000><font face=/font/big.font>%2</font></align><ret>
<color value=33FFFFFF><offset vshift=35><align hstyle=center><img src=/material/ui/link/%0.mat right=0.5></align><ret><offset vshift=105><align hstyle=center><font face=/font/small.font>%1</font></align>"
	width: 80
	height: 150
}

ui::button_template : btn.re_garage {
	name:"Real Estate - garage button"
	n_pml:
"<img src=/material/ui/button/profile0.mat bottom=p110 height=134 yscale=stretch><img src=/material/ui/button/profile0.mat left=p16 bottom=p110 height=134 width=102 yscale=stretch><img src=/material/ui/button/profile0.mat left=1 right=0 bottom=p110 height=134 yscale=stretch>
<ret><offset hshift=4 vshift=4><img src=/material/ui/company_manager/garage_%0.mat width=126 height=126>"
	s_pml:
"<img src=/material/ui/button/pic_frame_s_driver.mat bottom=p110 height=134 yscale=stretch><img src=/material/ui/button/pic_frame_s_driver.mat left=p16 bottom=p110 height=134 width=102 yscale=stretch><img src=/material/ui/button/pic_frame_s_driver.mat left=1 right=0 bottom=p110 height=134 yscale=stretch>
<ret><offset hshift=4 vshift=4><img src=/material/ui/company_manager/garage_%0.mat width=126 height=126>"
       s2_pml:
"<img src=/material/ui/button/profile2.mat bottom=p110 height=134 yscale=stretch><img src=/material/ui/button/profile2.mat left=p16 bottom=p110 height=134 width=102 yscale=stretch><img src=/material/ui/button/profile2.mat left=1 right=0 bottom=p110 height=134 yscale=stretch>
<ret><offset hshift=4 vshift=4><img src=/material/ui/company_manager/garage_%0.mat width=126 height=126>"
	p_pml:
"<img src=/material/ui/button/profile2.mat bottom=p110 height=134 yscale=stretch><img src=/material/ui/button/profile2.mat left=p16 bottom=p110 height=134 width=102 yscale=stretch><img src=/material/ui/button/profile2.mat left=1 right=0 bottom=p110 height=134 yscale=stretch>
<ret><offset hshift=4 vshift=4><img src=/material/ui/company_manager/garage_%0.mat width=126 height=126>"
	d_pml:
"<img src=/material/ui/button/profile0.mat bottom=p110 height=134 yscale=stretch><img src=/material/ui/button/profile0.mat left=p16 bottom=p110 height=134 width=102 yscale=stretch><img src=/material/ui/button/profile0.mat left=1 right=0 bottom=p110 height=134 yscale=stretch>"

	width: 134
	height: 134
}


ui::button_template : btn.chat_act_l {
	name: "Chat activation Left"
	n_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/arrow_overlay_side.mat></align>"
	s_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/arrow_overlay_side.mat color=FF00FF00></align>"
	p_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/arrow_overlay_side.mat></align>"
}

ui::button_template : btn.chat_act_r {
	name: "Chat activation Right"
	n_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/arrow_overlay_side.mat left=1 right=0></align>"
	s_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/arrow_overlay_side.mat left=1 right=0 color=FF00FF00></align>"
	p_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/arrow_overlay_side.mat left=1 right=0></align>"
}

ui::button_template : btn.chat_act_s {
	name: "Chat activation swap"
	n_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/full_1.mat left=1 right=0></align>"
	s_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/full_1.mat left=1 right=0 color=FF00FF00></align>"
	p_pml: "<img src=/material/ui/white.mat color=FF303030 xscale=stretch yscale=stretch><ret><align vstyle=center hstyle=center><img src=/material/ui/button/full_1.mat left=1 right=0></align>"
}

ui::button_template : btn.drop_ao {
	name: "Dropbox Arrow Only"
	n_pml: "<align hstyle=right><img src=/material/ui/button/btn_listbox_small_dark.mat right=p32></align>"
	s_pml: "<align hstyle=right><img src=/material/ui/button/btn_listbox_small_dark.mat right=p32></align>"
	s2_pml: "<align hstyle=right><img src=/material/ui/button/btn_listbox_small_dark.mat top=p25 bottom=0 right=p32></align>"
	p_pml: "<align hstyle=right><img src=/material/ui/button/btn_listbox_small_dark.mat top=p25 bottom=0 right=p32></align>"
	height: 32
}

ui::button_template : btn.drop_clr {
	name: "Dropbox Color coding"
	n_pml: "<img src=/material/ui/button/btn_dark.mat right=p4 xscale=stretch><ret><align hstyle=right><offset vshift=-1><img src=/material/ui/arrow_small.mat right=p28></align><ret><offset hshift=10><align vstyle=center><font face=/font/small.font><color value=@@clr_txt@@>%0</font></align>"
	s_pml: "<img src=/material/ui/button/btn_light.mat right=p4 xscale=stretch><ret><align hstyle=right><offset vshift=-1><img src=/material/ui/arrow_small.mat right=p28></align><ret><offset hshift=10><align vstyle=center><font face=/font/small.font><color value=@@clr_txt@@>%0</font></align>"
	s2_pml: "<img src=/material/ui/button/btn_dark.mat right=p4 xscale=stretch><ret><align hstyle=right><offset vshift=-1><img src=/material/ui/arrow_small.mat right=p28></align><ret><offset hshift=10><align vstyle=center><font face=/font/small.font><color value=@@clr_txt@@>%0</font></align>"
	p_pml: "<img src=/material/ui/button/btn_dark.mat right=p4 xscale=stretch><ret><align hstyle=right><offset vshift=-1><img src=/material/ui/arrow_small.mat right=p28></align><ret><offset hshift=10><align vstyle=center><font face=/font/small.font><color value=@@clr_txt@@>%0</font></align>"
}
ui::button_template : btn.list_clr {
	name: "Listbox Color coding"
	n_pml: "<font face=/font/small.font><color value=@@clr_txt@@>%0</font>"
	s_pml: "<font face=/font/small.font><color value=@@clr_white@@>%0</font>"
	s2_pml: "<font face=/font/small.font><color value=@@clr_white@@>%0</font>"
	p_pml: "<font face=/font/small.font><color value=@@clr_txt@@>%0</font>"
	height:18
}

ui::button_template : btn.usr_clr_p {
	name: "User color preset"
	n_pml: "<img src=/material/ui/color_picker/clr_user_1.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/color_picker/%0.mat></align>"
	s_pml: "<img src=/material/ui/color_picker/clr_user_2.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/color_picker/%0.mat></align>"
	p_pml: "<img src=/material/ui/color_picker/clr_user_3.mat><ret><align hstyle=center vstyle=center><img src=/material/ui/color_picker/%0.mat></align>"
	width:88
	height:42
}

}
