.freeform .portlet {
	margin-bottom: 0;
}

body.portlet {
	border-width: 0;
}

.portlet-icon-back {
	margin-top: -2px;
}

.portlet-topper {
	position: relative;

	.portlet-topper-toolbar {
		.portlet-icon-back {
			background: url(../images/arrows/12_left.png) no-repeat 0 50%;
			padding: 5px 5px 5px 18px;
		}

		.portlet-options .lfr-icon-menu-text {
			display: none;
		}
	}
}

.portlet-title-editable {
	cursor: pointer;
}

.portlet-title-text {
	display: inline-block;
	margin-top: 0;
	max-width: 95%;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: top;
	white-space: nowrap;
}

.panel-page-content, .panel-page-body {
	.portlet-title-text {
		cursor: auto;
	}
}

.portlet-content, .portlet-minimized .portlet-content-container {
	padding: 12px 10px 10px;
}

.portlet-minimized .portlet-content {
	padding: 0;
}

.portlet-nested-portlets .portlet-boundary {
	left: 0 !important;
	position: relative !important;
	top: 0 !important;
}

.portlet-draggable {
	.portlet-topper {
		cursor: move;
	}

	.portlet-title-default {
		background: lx-icon(move, $portlet-topper-color) no-repeat 2px center transparent;
		background-size: 12px;
		cursor: move;
		padding-left: 25px;
	}
}

.portlet {
	.visible-interaction {
		@include sm {
			display: none;
		}
	}

	&:active, &:hover, &:focus, &.active {
		.visible-interaction {
			display: inherit;
		}
	}
}

.controls-hidden .portlet .visible-interaction {
	@include media-query(null, $screen-xs-max) {
		display: none;
	}
}