/**
 * settings.css
 * Version    : 1.1.0
 * Author     : inc2734
 * Created    : September 23, 2014
 * Modified   : July 14, 2018
 * License    : GPLv2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 */

/** ==================================================
 * #normal-sortables
 */
#normal-sortables {
	display: none;
}

/** ==================================================
 * .btn-add-group
 */
.smart-cf-fields-wrapper .btn-add-group {
	margin-top: 10px;
}

/** ==================================================
 * .smart-cf-group
 */
.smart-cf-group {
	background: #f5f5f5;
	border: #eee solid 1px;
	margin: 10px 0 0;
	padding: 10px;
	position: relative;
}
.smart-cf-group .smart-cf-require {
	color: #f60;
	font-size: 90%;
	margin-left: 3px;
}
.smart-cf-group .smart-cf-notes {
	color: #999;
	font-size: 90%;
}

/**
 * .btn-remove-group
 */
.smart-cf-group .btn-remove-group {
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 10px;
}
.smart-cf-group .btn-remove-group .dashicons,
.smart-cf-group .btn-remove-group .dashicons:before {
	font-size: 14px;
	height: 14px;
	width: 14px;
}

/**
 * .btn-add-field
 */
.smart-cf-group .btn-add-field {
	margin-top: 5px;
}

/**
 * .smart-cf-group-repeat
 */
.smart-cf-group .smart-cf-group-repeat {
	margin: 0 0 5px;
}
.smart-cf-group .smart-cf-group-repeat label {
	position: relative;
	top: -2px;
}
@media (max-width:750px) {
	.smart-cf-group .smart-cf-group-name {
		max-width:79%;
	}
}

/**
 * .smart-cf-group-names
 */
.smart-cf-group .smart-cf-group-names {
	width: 100%;
}
.smart-cf-group .smart-cf-group-names th {
	text-align: left;
	width: 20%;
}

/**
 * .smart-cf-alert
 */
.smart-cf-alert {
	color: #f60;
	display: block;
	font-size: 90%;
	margin-top: 2px 0;
}

/** ==================================================
 * .smart-cf-fields
 */
.smart-cf-group .smart-cf-fields {
	margin-top: 7px;
}

/** ==================================================
 * .smart-cf-field
 */
.smart-cf-group .smart-cf-field {
	background: #fff;
	border: #eee solid 1px;
	margin: 5px 0 0;
	padding: 10px;
	overflow: hidden;
	*zoom: 1;
}
.smart-cf-group .smart-cf-field:first-child {
	margin-top: 0;
}
.smart-cf-group .smart-cf-field table {
	border-collapse: collapse;
	width: 100%;
}
.smart-cf-group .smart-cf-field table th,
.smart-cf-group .smart-cf-field table td {
	padding: 5px 0;
}
.smart-cf-group .smart-cf-field table th {
	font-weight: normal;
	padding-top: 10px;
	padding-right: 15px;
	text-align: left;
	vertical-align: top;
	width: 15%;
}
.smart-cf-group .smart-cf-field table table {
	margin: -5px 0;
}

/**
 * .smart-cf-icon-handle
 */
.smart-cf-group .smart-cf-field .smart-cf-icon-handle {
	float: left;
	margin-top: 4px;
	margin-right: 8px;
}

/**
 * .field-label
 */
.smart-cf-group .smart-cf-field .field-label {
	cursor: pointer;
	position: relative;
	overflow: hidden;
	*zoom: 1;
}
.smart-cf-group .smart-cf-field .field-label small {
	color: #999;
	font-size: 90%;
}

/**
 * .btn-remove-field
 */
.smart-cf-group .smart-cf-field .btn-remove-field {
	cursor: pointer;
	float: right;
}
.smart-cf-group .smart-cf-field .btn-remove-field .dashicons,
.smart-cf-group .smart-cf-field .btn-remove-field .dashicons:before {
	font-size: 14px;
	height: 14px;
	width: 14px;
}

/** ==================================================
 * #smart-cf-meta-box-condition
 */
#smart-cf-meta-box-condition-post b,
#smart-cf-meta-box-condition-profile b,
#smart-cf-meta-box-condition-taxonomy b,
#smart-cf-meta-box-condition-options-page b {
	display: block;
	margin: 0 0 5px;
}
#smart-cf-meta-box-condition-post label,
#smart-cf-meta-box-condition-profile label,
#smart-cf-meta-box-condition-taxonomy label,
#smart-cf-meta-box-condition-options-page label {
	display: block;
	margin: 0 0 5px;
}

#smart-cf-meta-box-condition-post .selectivity-multiple-input {
	box-shadow: none;
}

#smart-cf-meta-box-condition-post .selectivity-multiple-selected-item {
	margin-right: 5px;
}

#smart-cf-meta-box-condition-post .selectivity-multiple-selected-item-remove {
	font-weight: bold;
	color: #fff;
}

#smart-cf-meta-box-condition-post .selectivity-multiple-input-container {
	border: 1px solid #ddd;
	box-shadow: inset 0 1px 2px rgba(0,0,0,.07);
	background-color: #fff;
	color: #32373c;
	outline: 0;
	transition: 50ms border-color ease-in-out;
	border-radius: 0;
}

#smart-cf-meta-box-condition-post .selectivity-dropdown,
#smart-cf-meta-box-condition-post .selectivity-result-item:first-child,
#smart-cf-meta-box-condition-post .selectivity-load-more,
#smart-cf-meta-box-condition-post .selectivity-result-item:last-child,
#smart-cf-meta-box-condition-post .selectivity-result-children:last-child .selectivity-result-item:last-child {
	border-radius: 0;
}

.smart-cf-group .smart-cf-group-repeat label .ios-ui-select,
#smart-cf-meta-box-condition-post .ios-ui-select,
#smart-cf-meta-box-condition-profile .ios-ui-select,
#smart-cf-meta-box-condition-taxonomy .ios-ui-select,
#smart-cf-meta-box-condition-options-page .ios-ui-select {
	height: 18px;
	width: 32px;
	margin-bottom: -5px;
	position: relative;
	background: #ddd;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);

}

.smart-cf-group .smart-cf-group-repeat label .ios-ui-select .inner,
#smart-cf-meta-box-condition-post .ios-ui-select .inner,
#smart-cf-meta-box-condition-profile .ios-ui-select .inner,
#smart-cf-meta-box-condition-taxonomy .ios-ui-select .inner,
#smart-cf-meta-box-condition-options-page .ios-ui-select .inner {
	width: 12px;
	height: 12px;
}

.smart-cf-group .smart-cf-group-repeat label .ios-ui-select.checked .inner,
#smart-cf-meta-box-condition-post .ios-ui-select.checked .inner,
#smart-cf-meta-box-condition-profile .ios-ui-select.checked .inner,
#smart-cf-meta-box-condition-taxonomy .ios-ui-select.checked .inner,
#smart-cf-meta-box-condition-options-page .ios-ui-select.checked .inner {
	left: 17px;
}


/** ==================================================
 * .hide
 */
.smart-cf-group .smart-cf-field table tr.hide,
.smart-cf-group.hide,
.smart-cf-group .btn-add-field.hide,
.smart-cf-group .smart-cf-group-names.hide,
.smart-cf-group .smart-cf-field.hide,
.smart-cf-group .smart-cf-field table.hide {
	display: none;
}

/** ==================================================
 * classes
 */
.smart-cf-icon-handle {
	background: url( ../images/handle.png ) no-repeat;
	cursor: move;
	display: inline-block;
	margin-right: 10px;
	height: 10px;
	width: 10px;
	overflow: hidden;
	position: relative;
}
