.gray-button, 
.gray-button-disabled {
	border: 1px solid rgb(163, 163, 163);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
	
    background: #e6e6e6;
  	
    color: rgb(23, 47, 159);
    font-weight: bold;
    font-family: Arial;
    
    padding: 4px 12px;
    margin: 2px;
}

.gray-button[disabled],
.gray-button-disabled, 
.gwt-ToggleButton-up-disabled {
	opacity: .5;
	
	/* for IE (order is important) */
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
	filter: alpha(opacity=50);
}

button.gray-button:active, 
input.gray-button:active,
.gwt-ToggleButton-up-hovering:active, 
.gwt-Button:active:enabled {
	background: #999999;
}

.gray-button-selected, 
.gwt-ToggleButton-down {
	border: 1px solid rgb(163, 163, 163);
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    
    background: #6675ff;
    
    color: white;
    font-weight: bold;
    font-family: Arial;
    
    padding: 4px 12px;
    margin: 2px;
}

.gwt-ToggleButton {
	text-align: center;	
	font-size: small;
}

.gwt-ToggleButton-down,
.gwt-ToggleButton-down-hovering {
	border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
}

.button-table {
    border-collapse: collapse;
    border-spacing: 0;
}

.button-table > tbody > tr > td {
    padding: 0;
}

.button-table > tbody > tr > td > button, 
.button-table > tbody > tr > td > input, 
.button-table > tbody > tr > td .gwt-ToggleButton {
    border: 1px solid rgb(163, 163, 163);
    border-right-width: 0;
    border-bottom-width: 0;
    background: #e6e6e6;
    width: 100%;
}

.button-table > tbody > tr > td > button.selected, 
.button-table > tbody > tr > td > input.selected,
.button-table > tbody > tr > td .gwt-ToggleButton-down,
.button-table > tbody > tr > td .gwt-ToggleButton-down-hovering {
	background: #6675ff;
}

.button-table > tbody > tr > td:last-child > button, 
.button-table > tbody > tr > td:last-child > input,
.button-table > tbody > tr > td:last-child .gwt-ToggleButton  {
    border-right-width: 1px;
}

.button-table > tbody > tr:last-child > td > button, 
.button-table > tbody > tr:last-child > td > input,
.button-table > tbody > tr:last-child > td .gwt-ToggleButton {
    border-bottom-width: 1px;
}

.button-table > tbody > tr:first-child > td:first-child > button, 
.button-table > tbody > tr:first-child > td:first-child > input,
.button-table > tbody > tr:first-child > td:first-child .gwt-ToggleButton {
    border-top-left-radius: 4px;
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
}

.button-table > tbody > tr:first-child > td:last-child > button, 
.button-table > tbody > tr:first-child > td:last-child > input,
.button-table > tbody > tr:first-child > td:last-child .gwt-ToggleButton {
    border-top-right-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
}

.button-table > tbody > tr:last-child > td:first-child > button, 
.button-table > tbody > tr:last-child > td:first-child > input,
.button-table > tbody > tr:last-child > td:first-child .gwt-ToggleButton {
    border-bottom-left-radius: 4px;
    -webkit-border-bottom-left-radius: 4px;
    -moz-border-radius-bottomleft: 4px;
}

.button-table > tbody > tr:last-child > td:last-child > button, 
.button-table > tbody > tr:last-child > td:last-child > input,
.button-table > tbody > tr:last-child > td:last-child .gwt-ToggleButton {
    border-bottom-right-radius: 4px;
    -webkit-border-bottom-right-radius: 4px;
    -moz-border-radius-bottomright: 4px;
}

.button-table button, 
.button-table input, 
.button-table td .gwt-ToggleButton {
    width: 100%;
    height: 26px;
    margin: 0;
    color: rgb(23, 47, 159);
    font-weight: bold;
    font-family: Arial;
    border: 0;
    padding: 5px 10px;
}

.button-table td .gwt-ToggleButton {
}

#selectorButtonGroup .button-table tr:first-child > td {
	border-bottom: 1px solid #777777;
}

#selectorButtonGroup .button-table .gwt-ToggleButton {
}

.selectorControlWrapper .button-table .gwt-ToggleButton {
	min-width: 60px;
}

.selectorControlWrapper .button-table .gwt-ToggleButton,
.selectorControlWrapper .button-table .gwt-ToggleButton,
.selectorControlWrapper .button-table .gwt-ToggleButton {
	color: green;
}

.button-table button.selected, 
.button-table input.selected,
#selectorContainer .button-table .gwt-ToggleButton-down,
#selectorContainer .button-table .gwt-ToggleButton-down-hovering {
    color: white;
}

.button-table button::-moz-focus-inner, 
.button-table input::-moz-focus-inner {  
    border: 0;
}

button.gray-button::-moz-focus-inner, 
input.gray-button::-moz-focus-inner {  
    border: 0;
}


/* green gradient */
.selectorControlWrapper .button-table > tbody > tr > td .gwt-ToggleButton-down,
.selectorControlWrapper .button-table > tbody > tr > td .gwt-ToggleButton-down-hovering {
	background: #5a914d;
}

#selectorButtonGroup .button-table .gwt-ToggleButton {
	overflow: hidden;
	font-size: small;
}

#selectorButtonGroup .button-table > tbody > tr:not(:first-child) .gwt-ToggleButton {
	font-size: 8pt;
}
