/*
Reset the width of the table in the textcolor plugin to overwrite "width:100%" styles for tables
 */
table.aloha-ui-textcolor-picker-overlay {
	width: auto;
    min-width: 0;
}

.aloha-ui-textcolor-picker-overlay {
	display: none;
	position: fixed;
	background: #fff;
	border-collapse: collapse;
	z-index: 999999;
	box-shadow: 1px 1px 10px 0px rgba(0,0,0,0.2);
}
.aloha-ui-textcolor-picker-overlay td {
	padding: 0;
	font-size: 1em;
}
.aloha-ui-textcolor-picker-overlay td>div {
	width: 1em;
	height: 1em;
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
}
/** --- Because ie7 does not support rgba --- */
.aloha-ui-textcolor-picker-overlay td.focused>div {
	border-color: #000;
}
.aloha-ui-textcolor-picker-overlay td.selected>div,
.aloha-ui-textcolor-picker-overlay td.selected.focused>div {
	border-color: #fff;
}
/** --- ie7 --- */
.aloha-ui-textcolor-picker-overlay td.focused>div {
	border-color: rgba(0,0,0,0.5);
}
.aloha-ui-textcolor-picker-overlay td.selected>div,
.aloha-ui-textcolor-picker-overlay td.selected.focused>div {
	border-color: rgba(255,255,255,0.5);
}

.aloha .ui-icon.aloha-icon-textcolor{
	background-image: none;
}

.aloha .ui-icon.aloha-icon-textcolor-color{
	background-image: url("../img/textcolor.png");
}

.aloha .ui-icon.aloha-icon-textcolor-background-color{
	background-image: url("../img/textbackground.png");
}
