#controls-top,
#controls-bottom {
	padding-bottom: 10px;
	width: 100%;
	display: flex;
}

.controls-left,
.controls-center,
.controls-right {
	flex: 33% 1 0;
}

#controls-tray {
	padding-bottom: 10px;
	width: 100%;
}

.controls-left,
.controls-center {
	padding-right: 1%;
}

.calendar-controls-sortable {
	border: 1px solid #DFDFDF;
	list-style-type: none;
	margin: 0;
	padding: 5px 0 0 0;
	border-radius: 3px;

	li {
		display: inline-block;
	}
}

.controls-drop,
.controls-tray {
	padding: 5px;
	min-height: 40px;
	display: flex;
	flex-wrap: wrap;
	li {
		padding: 2px .2rem;
		font-size: 0.75em;
	}
}

.toplevel_page_gf_edit_forms {
	.ui-sortable-helper {
		border-radius: 3px;
		background: transparent !important;
		padding: 0!important;
	}

	.sortable-placeholder {
		width: 30px;
		margin-bottom: -1px; // Prevent shifting layout when dragging to/from controls group
	}

	.gform-settings-label .required {
		padding: .2em;
	}

	.gform-settings-field__calendar_controls .button {
		padding: .5em;
		line-height: 1;
		height: auto;
		font-size: .75rem;
		min-width: 3em;
		text-align: center;
	}
}

.gform-settings-panel {
	.gform-settings-field__header {
		margin-bottom: 0.3125rem;
		padding-top: .875rem;
		display: block;

		label {
			display: inline-block;
			font-size: .875rem;
		}
	}

	.gform-settings-field__radio .gform-settings-field__header {
		display: block;
		margin-bottom: 0.625rem;
	}

	.gform-settings-field:first-of-type .gform-settings-field__header {
		padding-top: 0;
	}
}

#calendar-controls {

	h2 {
		display: inline;
		font-size: 1.75em;
		margin: 0;
		/*position: relative;
		top: 5px;*/
	}

	p {
		font-weight: 600;
		margin-bottom: .25rem;
	}
}

.calendar-preview {
	margin: 0 auto;
	min-height: 600px;
	width: 100%;
}

body input.button-primary.gfbutton.button-hero,
body button.button-primary.gfbutton.button-hero,
body a.button-primary.gfbutton.button-hero {
	font-size: 14px !important; /** Override Gravity Forms' !important */
	min-height: 46px;
	line-height: 3.14285714;
	padding: 0 36px;
}
