/*-------- Flexible Buttons ------------*/

/*----Alignment and margin----*/

.screenBody .uiButtons {margin-bottom:12px;}
.screenBodyBrowse .uiButtons {margin:12px;}

.buttons, .uiButtons, .uiBrowseButtons, .uiActions {
	margin-bottom: 10px;
}

html.LTR  .uiBrowseButtons{
	float: left;
}
html.RTL  .uiBrowseButtons{
	float: right;
}

html.LTR .uiActions{
	float: left;
}
html.RTL .uiActions{
	float: right;
}
html.LTR .uiCellButton{
	padding-right:5px;
}
html.RTL .uiCellButton{
	padding-left:5px;
}
/* Deprecated, to delete
html.LTR .uiActions .IEButton, html.LTR .uiActions .FireFoxButton, html.LTR .uiActions .OperaButton, html.LTR .uiActions .SafariButton{
	margin-right: 7px;
}
html.RTL .uiActions .IEButton, html.RTL .uiActions .FireFoxButton, html.RTL .uiActions .OperaButton, html.RTL .uiActions .SafariButton{
	margin-left: 7px;
}

html.LTR .uiButtons div, html.LTR .uiBrowseButtons div, .html.LTR uiActions div {
	float: left;
}
html.RTL .uiButtons div, html.RTL .uiBrowseButtons div, .html.RTL uiActions div {
	float: right;
}
*/
.buttonArea {padding-right:5px;}
.buttonWrap1, .buttonWrap2, .button2 input {height:27px;}

.buttonWrap2 input {
  border:0;
  height:27px;  
  cursor:hand;
  cursor:pointer;
  padding: 0 20px;
  margin: 0 -3px;
  width:auto;
  overflow:visible;
}
.insideButtonWrap1, .insideButtonWrap2 {height: 20px;}
.insideButtonWrap2 input {
  border:0; 
  background:transparent;
  cursor:hand;
  cursor:pointer;
  height:20px;
  margin: 0 -3px;
  padding:0 10px;
  width:auto;
  overflow:visible;
}
/* IE7 hack */ 
*:first-child+html .buttonWrap2 input, *:first-child+html .insideButtonWrap2 input {width:100%;}

.disabled .buttonWrap2 input, .disabled .insideButtonWrap2 input {opacity:0.4;}
input.ButtonSubmit {font-weight:bold;}

.buttonWrap2 .insideButtonWrap2 {min-width: -moz-max-content;}
input::-moz-focus-inner /*Remove button padding in FF*/
{ 
    border: 0;
    padding: 0;
}