
#gplp-preview-button-container {
	position: relative;
}

.gplp-submenu:not(.gplp-mode-settings) {
	display: none;
	right: 0;
	min-width: 230px;
	text-align: left;
	position: absolute;
	padding-top: 5px;
	z-index: 1;
}

.preview-form:hover + .gplp-submenu,
.preview-form:focus + .gplp-submenu,
.gplp-submenu:hover {
	display: block;
}

.gplp-submenu ul {
	display: block;
	background: #FFF;
	border: 1px solid #D9DAE6;
	border-radius: 5px;
	box-shadow: 0 3px 5px rgba( 0, 0, 0, 0.125 );
	width: 14.625rem !important;
}

.gplp-submenu li {
	padding: 1rem;
	border-bottom: 1px solid #ECEDF8;
	margin: 0;
	user-select: none;
}

.gplp-submenu li:last-child {
	border-bottom: 0;
}

.gplp-submenu li:hover {
	background-color: rgba( 0, 0, 0, 0.025 );
	background-color: #F6F9FC;
}

.gplp-submenu:not(.gplp-mode-settings) li:first-child {
	border-radius: 5px 5px 0 0;
}

.gplp-submenu:not(.gplp-mode-settings) li:last-child {
	border-radius: 0 0 5px 5px;
}

.gplp-submenu .gf_tooltip {
	position: relative;
	top: 2px;
	float: right;
}

.gplp-submenu-tooltip {
	z-index: 99999 !important; /* one more than the editor toolbar */
}

.gplp-submenu-tooltip:after {
	right: 26px;
}

.gplp-submenu-tooltip.ui-tooltip.ui-widget-content {
	max-width: 12rem;
}

.gplp-submenu input[type="checkbox"] {
	opacity: 0;
	position: fixed;
	width: 0;
}

.panel-block-tabs__body--settings input[type="radio"]:disabled + label::before{
	border: 2px solid #CCCCCC;
}

.panel-block-tabs__body--settings input[type="radio"] + label:focus::before{
	box-shadow: 0 0 0 3px #6C7781;
}


.gplp-submenu input[type="checkbox"]:disabled + label::before {
	border: 2px solid #CCCCCC;
}

.gplp-submenu input[type="checkbox"] + label::before {
	content: "";
	display: inline-block;
	height: 12px;
	width: 12px;
	background-color: #ffffff ;
	margin-right: 6px;
	vertical-align: sub;
	border: 2px solid #6c7781;
	border-radius: 2px;
}

.gplp-submenu input[type="checkbox"]:checked + label{
	color: #555D66;
}

.gplp-submenu input[type="checkbox"]:checked + label::before {
	box-shadow: none;
	background-color: #00A0D2;
	width: 16px;
	height: 16px;
	border: none;
	border-radius: 2px;
	background-repeat: no-repeat;
	background-position: 2px;
}

.gplp-submenu input[type="checkbox"] + label:active::before,
.gplp-submenu input[type="checkbox"] + label:focus::before,
.gplp-submenu input[type="checkbox"]:checked + label:active::before,
.gplp-submenu input[type="checkbox"]:checked + label:focus::before {
	border-color: #6c7781;
	box-shadow: 0 0 0 2px #555d66;
}