.fw-option-type-builder-fullscreen-backdrop {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 99997;
	margin: 0;
	background-color: #E1E1E1;
}

body.admin-bar .fw-option-type-builder-fullscreen-backdrop {
	top: 32px;
}

.fw-option-type-builder-fullscreen-backdrop .buttons-wrapper {
	float: right;
	margin: 10px 20px;
}

.fw-option-type-builder-fullscreen-backdrop .button {
	margin-left: 5px;
	float: left;
}

.fw-option-type-builder-fullscreen-backdrop .buttons-wrapper .spinner {
	float: left;
	margin-top: 4px;
	margin-right: 0px;
}


.fw-option-type-builder > .builder-items-types .fullscreen-btn {
	float: right;
	cursor: pointer;
	color: #0074a2;
	margin: -5px 10px 10px 0;
}

body.rtl .fw-option-type-builder > .builder-items-types .fullscreen-btn {
	float: left;
}

.fw-option-type-builder > .builder-items-types .fullscreen-btn div {
	float: left;
}

.fw-option-type-builder > .builder-items-types .fullscreen-btn .icon-fullscreen-on {
	width: 9px;
	height: 18px;
	margin-right: 5px;
	background-position: center;
	background-image: url(../img/fullscreen/fullscreen-on.png);
	background-repeat: no-repeat;
}

.fw-option-type-builder > .builder-items-types .fullscreen-btn .icon-fullscreen-off {
	width: 9px;
	height: 18px;
	margin-right: 5px;
	background-position: center;
	background-image: url(../img/fullscreen/fullscreen-off.png);
	background-repeat: no-repeat;

}

@media (max-width: 782px) {
	.fw-option-type-builder > .builder-items-types .fullscreen-btn {
		float: none;
		margin: 0 auto 10px;
		display: inline-block;
	}
}

@media (min-width: 783px) {
	.fw-option-type-builder > .builder-items-types .fw-options-tabs-wrapper.fw-options-tabs-first-level .fw-options-tabs-list > ul {
		float: left; /* needed when the Fullscreen button goes on top of tabs when page width is small http://bit.ly/1FSCB7p */
	}
}


.fw-option-type-builder .ui-tabs-nav.ui-helper-clearfix:after {
	clear: none;
}


.fw-option-type-builder.builder-fullscreen {
	position: fixed;
	padding-top: 10px;
	top: 82px;
	left: 20px;
	right: 20px;
	z-index: 99998;
	margin: 0;
	background-color: #fff;
}

.fw-option-type-builder.builder-fullscreen > .builder-root-items {
	overflow: auto;
	overflow-x: hidden;
}