/* button default settings */
#g .B{position:relative;overflow:hidden;zoom:1;
						padding:1px;color:#000;background:#FDCD3C;
						font:normal 11px/18px Arial;text-align:center;
						-moz-border-radius:20px;-webkit-border-radius:20px;-border-radius:20px;border:none}
#g .B:hover{text-decoration:none;background:#FFDE3E}
#g .B *:hover,#g .B B:hover,#g .B SPAN B:hover,#g .B SPAN SPAN B:hover{text-decoration:none}

#g .Section .B SPAN,#g .B SPAN{margin:0;padding:2px 8px;display:block;background:url(mbutton_bg.png) repeat-x 0 center;
									-background-image:url(mbutton_bg.gif);border:1px solid #FFD740;
									-moz-border-radius:20px;-webkit-border-radius:20px;-border-radius:20px}
#g .Section .B SPAN SPAN,#g .B SPAN SPAN{background-image:none;background-repeat:no-repeat;border:none;padding:0}

#g BUTTON.B{width:auto;margin-top:0;height:auto;padding:0}
* HTML #g BUTTON.B{padding:0 1px 0}
#g BUTTON.B{display:none;*display:block}/*IE678 BTN on*/
* HTML #g A.B{-d2isplay:none}/*IE6 A off*/
* HTML #g A.B{*d2isplay:none}/*IE678 A off*/
#g BUTTON.B{}
/* ~¬§«» */
/* todo #g BUTTON.B SPAN{margin:}*/
/* Button float classes */
#g .BfloatR{float:right;margin:0 1px 16px 5px}
#g .BfloatL{float:left ;margin:0 5px 16px 0}

#g .Toolbox .B{margin-bottom:0}
#g .Toolbox .BSizeXS{margin-top:7px}
#g .TBBottom .BSizeXS{margin-top:0px}

/* Button sizes and font type */
#g .BSizeXS{font:normal 9px/11px Tahoma}
#g .BSizeS{font:normal 11px/12px Arial}
#g .BSizeM{font:normal 15px/25px Arial}
#g .BSizeL{font:bold 30px/45px Arial}#g A.BSizeL SPAN{padding:4px 16px}

/* images inside button classes list. BiLeft/BiRight determines the side of space for image*/
#g .BiLeft SPAN SPAN{background-position:left center;padding-left:15px}
#g .BiRight SPAN SPAN{background-position:right center;padding-right:15px}
#g .BiAdd SPAN SPAN{background-image:url(mbutton_add_b.gif)}#g .BiAdd SPAN.BtWhite SPAN{background-image:url(mbutton_add_w.gif)}
#g .BiRem SPAN SPAN{background-image:url(mbutton_rem_b.gif)}#g .BiRem SPAN.BtWhite SPAN{background-image:url(mbutton_rem_w.gif)}
#g .BiNext SPAN SPAN{background-image:url(mbutton_next_b.gif)}#g .BiNext SPAN.BtWhite SPAN{background-image:url(mbutton_next_w.gif)}
#g .BiPrev SPAN SPAN{background-image:url(mbutton_prev_b.gif)}#g .BiPrev SPAN.BtWhite SPAN{background-image:url(mbutton_prev_w.gif)}
#g .BiList SPAN SPAN{background-image:url(mbutton_list_b.gif)}#g .BiList SPAN.BtWhite SPAN{background-image:url(mbutton_list_w.gif)}
#g .BiMoveUp SPAN SPAN{background-image:url(mbutton_moveup_b.gif)}#g .BiMoveUp SPAN.BtWhite SPAN{background-image:url(mbutton_moveup_w.gif)}
#g .BiMoveDown SPAN SPAN{background-image:url(mbutton_movedown_b.gif)}#g .BiMoveDown SPAN.BtWhite SPAN{background-image:url(mbutton_movedown_w.gif)}
#g .BiEdit SPAN SPAN{background-image:url(mbutton_edit_b.gif)}#g .BiEdit SPAN.BtWhite SPAN{background-image:url(mbutton_edit_w.gif)}

/* button text color */
#g .B SPAN.BtWhite *{color:white}
#g .B SPAN.BtBlack *{color:black}

/* Button color */
#g .BbgCyan{background-color:#197EE3}#g .BbgCyan:hover{background-color:#258AEF}
#g .BbgGreen{background-color:#BDFF3A}#g .BbgGreen:hover{background-color:#DFFF44}
#g .BbgRed{background-color:#F0350C}#g .BbgRed:hover{background-color:#FC3F15}
#g .BbgGrayYellow{background-color:#DADADA}#g .BbgGrayYellow:hover{background-color:#FFF864}
#g .BbgGrayRed{background-color:#DADADA}#g .BbgGrayRed:hover{background-color:#FC3F15}
#g .BDisabled{background-color:#E9E9E9}#g .BDisabled:hover{background-color:#E9E9E9}#g .BDisabled SPAN{opacity:.5;}
#g .BDisabled SPAN{border-color:#E9E9E9}
/* button blank with image*/
#g .BtNone SPAN SPAN{background-position:center center;padding-left:3px;padding-right:3px}


/* button framework extensions*/
#g FIELDSET A.B{background:#FFEC58;border:1px solid #E4D968}
#r .B{border:none}
#r .BfloatR{float:right;margin:6px 2px 6px 5px;width:auto}
#r .BfloatL{float:left ;margin:6px 5px 6px 0;width:auto}
#g .BFile{width:86px;background:#FFEC58}
#g .BFile-hover{background:#FFF864}

#g DIV.BfloatR{float:right;margin:0 1px 16px 5px}
#g DIV.BfloatL{float:left ;margin:0 5px 16px 0}
#g DIV.BiAdd SPAN SPAN{background-image:url(mbutton_add_b.gif)}
#g DIV.BFile{width:86px;background:#FFEC58}
#g DIV.BiLeft SPAN SPAN{background-position:left center;padding-left:15px}
#g DIV.BiRight SPAN SPAN{background-position:right center;padding-right:15px}
