/* Settings Wrapper */
.edbb-settings-wrap {
	max-width: 1320px;
}

/* Subsite Notice */
.edbb-subsite-notice {
	margin: 0;
	margin-bottom: 10px;
}

/* Toggle Switch */
.edbb-settings-wrap .edbb-admin-field-toggle {
	position: relative;
	display: inline-block;
	width: 26px;
	height: 16px;
}

.edbb-settings-wrap .edbb-admin-field-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.edbb-settings-wrap .edbb-admin-field-toggle .edbb-admin-field-toggle-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #e1e3e8;
	border-radius: 16px;
	height: 16px;
	outline: none;
	-webkit-transition: .4s;
	transition: .4s;
}

.edbb-settings-wrap .edbb-admin-field-toggle .edbb-admin-field-toggle-slider:before {
	border-radius: 12px;
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	left: 2px;
	bottom: 2px;
	background-color: #fff;
	opacity: 0.5;
	-webkit-transition: .4s;
	transition: .4s;
}

.edbb-settings-wrap .edbb-admin-field-toggle input[type="checkbox"]:checked + .edbb-admin-field-toggle-slider {
	background-color: #2271b1;
}

.edbb-settings-wrap .edbb-admin-field-toggle input[type="checkbox"]:checked + .edbb-admin-field-toggle-slider:before {
	left: 0;
	opacity: 1;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
}

/* Select Element */
.edbb-settings-wrap select {
	width: 100%;
}

/* Sortable Column */
#edbb-settings-form > thead > tr > th:first-child,
#edbb-settings-form > tbody > tr > td:first-child {
	border-right: 1px solid #c3c4c7;
	text-align: center;
	vertical-align: middle;
}
.edbb-move-row {
	cursor: move;
}

/* Buttons */
#edbb-settings-form button {
	display: -webkit-inline-box;
	display: -ms-inline-flexbox;
	display: inline-flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
}

#edbb-settings-form button.edbb-remove-row {
	color: #d63638;
	border-color: #d63638;
	margin-left: 10px;
}

/* Form Actions */
.edbb-form-actions {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: reverse;
	    -ms-flex-direction: row-reverse;
	        flex-direction: row-reverse;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.edbb-form-actions p {
	margin: 20px 0;
	padding: 0;
}

/* Repeater Clone */
.edbb-repeater-clone {
	display: none !important;
}

.edbb-hide-select,
.edbb-hide-select + span.select2-container {
	display: none !important;
}
.select2-container {
    width: 100% !important;
}

/* Reduce overall height of the multiselect field */
#edbb-settings-form .select2-container--default .select2-selection--multiple,
#edbb-settings-form .select2-container--default .select2-selection--single {
	min-height: 30px;
	padding: 2px 4px;
	font-size: 13px;
	line-height: 1.2;
}
#edbb-settings-form .select2-container--default .select2-selection--multiple .select2-selection__rendered li {
	margin-bottom: 2px;
}

/* Reduce padding and size of individual selected items ("tags") */
#edbb-settings-form .select2-container--default .select2-selection--multiple .select2-selection__choice {
	padding: 1px 4px;
	margin: 1px 2px 1px 0;
	font-size: 12px;
	line-height: 1.2;
}

/* Shrink the "x" close button */
#edbb-settings-form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	font-size: 12px;
}

/* Reduce height of the inline search box (where you type) */
#edbb-settings-form .select2-container--default .select2-selection--multiple .select2-search__field {
	padding: 2px;
	margin: 2px;
	font-size: 13px;
	line-height: 1.2;
	height: auto;
}

.edbb-user-role-col input[type="search"] {
	min-height: auto;
}

#edbb-settings-form .select2-container .select2-selection--single,
#edbb-settings-form .condition-type {
	height: 35px;
}

#edbb-settings-form .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 34px;
}

.edbb-loader {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	height: 100px;
}

.edbb-loader .edbb-spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid #007cba;
	border-radius: 50%;
	width: 30px;
	height: 30px;
	-webkit-animation: edbb-spin 1s linear infinite;
	        animation: edbb-spin 1s linear infinite;
}

@-webkit-keyframes edbb-spin {
	0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes edbb-spin {
	0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
