/* Hide page builder widgets from showing on main widgets page */
body.widgets-php #widget-list [id*="upeo_builder_"],
body.widgets-php #widget-list [id*="upeo-builder-"],
body.widgets-php #widget-list [id*="siteorigin-panels-builder"] {
	display: none !important;
}

/* Fix issue where row settings dropdown is hidden behind column seperator */
.siteorigin-panels-builder .so-rows-container .so-row-toolbar .so-dropdown-wrapper .so-dropdown-links-wrapper {
	z-index: 101;
}

/* ----------------------------------------------------------------------------------------
	1. General Styling
---------------------------------------------------------------------------------------- */

/* Sidebar size */
.so-panels-dialog .so-right-sidebar {
    width: 470px;
}
.so-panels-dialog.so-panels-dialog-has-right-sidebar .so-content {
    right: 500px;
}

.so-panels-dialog .style-field-wrapper > label {
    white-space: nowrap;
	font-weight: 400 !important;
	cursor: auto;
}

/* General field styling */
.upeo-style-field-text,
.upeo-style-field-code,
.upeo-style-field-color,
.upeo-style-field-image,
.upeo-style-field-select,
.upeo-style-field-checkbox {
	display: inline-block;
	min-height: 50px;
	vertical-align: middle;
	margin-top: -20px
}
.upeo-style-field-text,
.upeo-style-field-code,
.upeo-style-field-color,
.upeo-style-field-image,
.upeo-style-field-select {
	margin-left: 140px;
    width: 135px
}
.upeo-style-field-text > label,
.upeo-style-field-code > label,
.upeo-style-field-color > label,
.upeo-style-field-image > label,
.upeo-style-field-select > label {
    position: relative;
    left: -140px;
    top: 25px;
	width: 100px;
}
.upeo-style-field-checkbox > label {
	color: #F7F7F7;
	color: transparent;
}
.upeo-style-field-text,
.upeo-style-field-code,
.upeo-style-field-image {
    width: 250px
}

.upeo-style-field-select select{
    width: 105px
}
.upeo-style-field-checkbox {
    width: 120px;
}

/* Image field */
.upeo-style-field-image .remove-image {
    color: #fff !important;
    text-align: center;
    line-height: 26px;
    height: 26px;
    width: 60px;
    background: #d54e21;
    margin-top: 2px !important;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-ms-border-radius: 3px;
	-o-border-radius: 3px;
	border-radius: 3px;
}
.upeo-style-field-image .remove-image:hover {
	background: #a00;
}

/* Headings - begin with class "upeo_heading_row" */
[class*="upeo_heading_row"] {
	width: 100% !important;
	margin-left: 0 !important;
    margin-top: 0 !important;
	margin-bottom: 10px !important
}
[class*="upeo_heading_row"]:before {
    content: "";
    width: 400px;
    height: 1px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    display: block;
    padding-top: 0px;
    margin-bottom: 20px
}
[class*="upeo_heading_row"] > label {
    position: static;
}
[class*="upeo_heading_row"] .style-field {
	display: none !important;
}
[class*="upeo_heading_row"].style-field-wrapper > label {
	font-weight: 700 !important;
}

/* ----------------------------------------------------------------------------------------
	2.1. Row - Custom Styling
---------------------------------------------------------------------------------------- */

/* Border Settings */
.upeo_styleBorderTStyle,
.upeo_styleBorderBStyle {
	margin-left: 0 !important;
}
.upeo_styleBorderTStyle > label,
.upeo_styleBorderBStyle > label {
	position: relative;
    z-index: -1;
	color: #F7F7F7;
	color: transparent;
}
.upeo_styleBorderTColor > label,
.upeo_styleBorderBColor > label,
.upeo_styleBorderTColorClear > label,
.upeo_styleBorderBColorClear > label {
	display: none !important;
}
.upeo_styleBorderTColor,
.upeo_styleBorderBColor,
.upeo_styleBorderTColorClear,
.upeo_styleBorderBColorClear {
	margin-top: 0 !important;
    margin-bottom: 0 !important
}

/* ----------------------------------------------------------------------------------------
	2.2. Row - Layout
---------------------------------------------------------------------------------------- */

/* Select fields - larger width for label */
.upeo_row_layout .upeo-style-field-select {
    margin-left: 195px;
}
.upeo_row_layout .upeo-style-field-select > label {
	left: -195px;
}

/* ----------------------------------------------------------------------------------------
	3.1. Widget - Custom Styling
---------------------------------------------------------------------------------------- */

/* Border Settings */
.upeo_widget_styleBorderStyle {
	margin-left: 0 !important;
}
.upeo_widget_styleBorderStyle > label {
	position: relative;
    z-index: -1;
	color: #F7F7F7;
	color: transparent;
}
.upeo_widget_styleBorderColor > label,
.upeo_widget_styleBorderColorClear > label {
	display: none !important;
}
.upeo_widget_styleBorderColor,
.upeo_widget_styleBorderColorClear {
	margin-top: 0 !important;
    margin-bottom: 0 !important
}

/* ----------------------------------------------------------------------------------------
	4. Page Builder Menu Page
---------------------------------------------------------------------------------------- */

/* Hide "Post Types" setting - If removed using PHP the ncustom option doesn't save */
#panels-settings-section-general .form-table tbody .panels-setting:first-child {
    display: none;
}

/* ----------------------------------------------------------------------------------------
	5. Widget Specific
---------------------------------------------------------------------------------------- */

/* Hide notice when using WordPress core "Text" widget when in the page builder. */
.so-panels-dialog .upeo-content-WP_Widget_Text .notice-info {
	display: none;
}

