/* CSS Document */

/*********
***	FORMAT EDITING
*********/
.editpanel .ui-button-text-only .ui-button-text { padding:2px 10px; font-size:12px; }
.editpanel .formatoptions .ui-button { width:100%; }
.editpanel .formatoptions > label,
.editpanel .cbopts label {
	display:block;
	float:left;
	margin:1px 5px 7px;
}

.editpanel .vfield .vwatermark{
	display:block;
	float:left;
	margin-left:4px;
	margin-bottom: 7px;
	width:100%;
}
.editpanel .field .watermarktable{
	text-align:center;
	float:right;
	border:1px solid #A0A0A0;
}
.editpanel .field .icon_w{
	height:48px;
	width:48px;
	float:right;
	margin-left:5px;
	background-color:#404040;
	background-image:url(../imgs/formats_watermark_alpha.png);
	background-repeat:no-repeat;
	background-position:center center;
	cursor:pointer;
}
.editpanel .field .watermarktable table,
.editpanel .field .watermarktable td{
}

.editpanel .field .watermarktable table{
    border-spacing: 0px;
	border-collapse: collapse;
}
.editpanel .field .watermarktable td{
    padding: 4px;
    background-color: #CCC;
}
.editpanel .field .watermarktable td input{
	margin:0px;
}

.editpanel .wpercinputtext{
	text-align: right;
	width: 28px;
}
.editpanel .formatinputtext{
	text-align: right;
	width: 55px;
}

.editpanel .sizesinput{
	float:left;
	width:55px;
}
.editpanel .sizesinput.textsize{
	margin-top:2px;
	width:64px;
}
.editpanel .sizesinput.textsize.textsizebold{
	font-weight:bold;
}

.format-groups,
.format-groups * {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.format-groups {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.format-groups__header {
	color: #333333;
	background-color: #e7e7e7;
	padding: 12px;
}

.format-groups__header-title {
	font-size: 15px;
	font-weight: bold;
}

.format-groups__list {
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.format-groups__list .scroller.small {
	max-height: 56vh !important;
}

.format-groups__item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	border-bottom: 1px solid #dddddd70;
}

.format-groups__item > label {
	display: flex;
	flex-direction: row;
	align-items: center;
	max-width: 640px;
}

.format-groups__item > label > .ugdata.small {
	max-width: 640px;
}

.format-groups__item:hover {
	border-bottom: 1px solid rgba(253, 185, 19, 0.34);
}

.format-groups__link {
	display: flex;
	visibility: hidden;
	max-width: 16px;
}

.format-groups__link > * {
	margin: 0;
}

.format-groups__item:hover .format-groups__link {
	visibility: visible;
}

.format-groups__remove {
	display: flex;
	visibility: hidden;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #999999;
	width: 20px;
	height: 20px;
	font-size: 15px;
}

.format-groups__item:hover .format-groups__remove {
	visibility: visible;
}

.format-groups__remove:hover {
	color: #2F2F2F;
	/*border-radius: 50%;*/
	/*border: 1px solid #2F2F2F;*/
}