/*
----------------------------------------------------------------
admin.css
Gravity Forms Administration Styles
For the Survey Add-On
https://www.gravityforms.com
Gravity Forms is a Rocketgenius project
copyright 2008-2025 Rocketgenius Inc.
https://www.rocketgenius.com
this may not be re-distributed without the
express written permission of the author.
NOTE: DO NOT EDIT THIS FILE!
THIS FILE IS REPLACED DURING AUTO UPGRADE
AND ANY CHANGES MADE HERE WILL BE OVERWRITTEN.
----------------------------------------------------------------
*/

/*-- survey --*/

.gsurvey-survey-field .label_setting, .gsurvey-survey-field .gfield_choice_radio, .gsurvey-survey-field .other_choice_setting, .gsurvey-survey-field input#field_choice_values_enabled, .gsurvey-survey-field input#field_choice_values_enabled + label, .gsurvey-survey-field .field-choice-label--radio, .gsurvey-survey-field .field-choice-label--rank, .gsurvey-survey-field .field-choice-label--rating, .gsurvey-survey-field .choice_with_value li input.field-choice-value, .gsurvey-survey-field .choice_with_value .gfield_choice_header_value, .gsurvey-survey-field .choice_with_value .gfield_choice_header_label {
		display: none !important;
	}

.gsurvey-survey-field .choice_with_value li input.field-choice-text {
		width: 312px !important;
	}

.gform-flyout--choices-ui--survey .gfield_choice_radio, .gform-flyout--choices-ui--survey input#field_choice_values_enabled, .gform-flyout--choices-ui--survey input#field_choice_values_enabled + label, .gform-flyout--choices-ui--survey .field-choice-label--radio, .gform-flyout--choices-ui--survey .field-choice-label--rank, .gform-flyout--choices-ui--survey .field-choice-label--rating, .gform-flyout--choices-ui--survey .field-choice-label--checkbox, .gform-flyout--choices-ui--survey .field-choice-label--select, .gform-flyout--choices-ui--survey .field-choice-clear-default, .gform-flyout--choices-ui--survey .choice_with_value li input.field-choice-value, .gform-flyout--choices-ui--survey .choice_with_value .gfield_choice_header_value, .gform-flyout--choices-ui--survey .choice_with_value .gfield_choice_header_label {
		display: none !important;
	}

.gform-flyout--choices-ui--survey:not(.gform-flyout--choices-ui--input-type-radio) .other_choice_setting {
			display: none !important;
		}

html[dir="rtl"] .gform-flyout--choices-ui--survey #gfield_settings_choices_container label:first-child {
	margin-right: 2rem;
}

html:not([dir="rtl"]) .gform-flyout--choices-ui--survey #gfield_settings_choices_container label:first-child {
	margin-left: 2rem;
}

/*-- likert --*/

.gsurvey-likert-field .choices_setting, .gsurvey-likert-field .duplicate_setting, .gsurvey-likert-field .other_choice_setting, .gsurvey-likert-field input#field_choice_values_enabled, .gsurvey-likert-field input#field_choice_values_enabled + label, .gsurvey-likert-field .choice_with_value li input.field-choice-value, .gsurvey-likert-field .choice_with_value .gfield_choice_header_value, .gsurvey-likert-field .choice_with_value .gfield_choice_header_label {
		display: none !important;
	}

#gsurvey-likert-rows-container, #gsurvey-likert-columns-container {
	border: 1px solid #dfdfdf;
	margin: 8px 0 14px;
	max-height: 230px;
	overflow: auto;
	padding: 2px 0 6px;
}

.panel-block-tabs__body--settings #gsurvey-likert-rows-container, .panel-block-tabs__body--settings #gsurvey-likert-columns-container {
		border: 0 none;
		box-sizing: border-box;
		margin: auto;
		padding: auto;
		width: 100%;
	}

.panel-block-tabs__body--settings #gsurvey-likert-columns {
		margin: auto;
		padding: 0;
	}

.panel-block-tabs__body--settings #gsurvey-likert-rows li.field-choice-row, .panel-block-tabs__body--settings #gsurvey-likert-columns li.field-choice-row {
		padding: 0;
	}

.panel-block-tabs__body--settings #gsurvey-likert-columns .field-choice-row + .field-choice-row, .panel-block-tabs__body--settings #gsurvey-likert-rows .field-choice-row + .field-choice-row {
		margin-top: 0.5rem;
	}

.panel-block-tabs__body--settings .gsurvey-likert-scoring-enabled #gsurvey-likert-columns .gsurvey-likert-column-text {
		max-width: 12rem;
	}

.panel-block-tabs__body--settings .gsurvey-likert-scoring-enabled #gsurvey-likert-columns .gsurvey-likert-column-score {
		margin: 0 0.3rem;
		width: 3.5rem;
	}

.gsurvey-liket-row-handle, .gsurvey-liket-column-handle {
	cursor: move;
	vertical-align: middle;
}

.gsurvey-likert-handle--legacy {
	border-right: 1px solid #ccc;
}

#gsurvey-likert-rows li:not(.field-choice-row), #gsurvey-likert-columns li:not(.field-choice-row) {
	margin: 0;
	padding: 0 10px !important;
}

#gsurvey-likert-rows li input.gsurvey-likert-row-text, #gsurvey-likert-columns li input.gsurvey-likert-column-text {
	max-width: 16.125rem;
}

.gsurvey-likert-column-score {
	display: none;
	text-align: center;
	width: 28px;
}

.gsurvey-likert-scoring-enabled .gsurvey-likert-column-score {
		display: inline !important;
	}

.gsurvey-likert-scoring-enabled .gsurvey-likert-column-text {
		width: 298px !important;
	}

/*-- rank --*/

.gsurvey-rank-field .gfield_choice_radio, .gsurvey-rank-field .rules_setting, .gsurvey-rank-field .other_choice_setting, .gsurvey-rank-field input#field_choice_values_enabled, .gsurvey-rank-field input#field_choice_values_enabled + label, .gsurvey-rank-field .choice_with_value li input.field-choice-value, .gsurvey-rank-field .choice_with_value .gfield_choice_header_value, .gsurvey-rank-field .choice_with_value .gfield_choice_header_label {
		display: none !important;
	}

.gsurvey-rank-field .choice_with_value li input.field-choice-text {
		width: 312px !important;
	}

/*-- rating --*/

.gsurvey-rating-field .duplicate_setting, .gsurvey-rating-field .other_choice_setting, .gsurvey-rating-field input#field_choice_values_enabled, .gsurvey-rating-field input#field_choice_values_enabled + label, .gsurvey-rating-field .choice_with_value li input.field-choice-value, .gsurvey-rating-field .choice_with_value .gfield_choice_header_value, .gsurvey-rating-field .choice_with_value .gfield_choice_header_label {
		display: none !important;
	}

.gsurvey-rating-field .choice_with_value li input.field-choice-text {
		width: 312px !important;
	}

/* Input style overrides */

.gsurvey-survey-field .choice_with_value li input.field-choice-text, .gsurvey-likert-field .choice_with_value li input.field-choice-text, .gsurvey-rank-field .choice_with_value li input.field-choice-text, .gsurvey-rating-field .choice_with_value li input.field-choice-text {
	width: 312px !important;
}

.gsurvey-survey-field #gfield_settings_choices_container.choice_with_value .field-choice-text--radio, .gsurvey-survey-field #gfield_settings_choices_container.choice_with_value .field-choice-text--rating, .gsurvey-survey-field #gfield_settings_choices_container.choice_with_value .field-choice-text--rank {
	max-width: 18rem;
}

.gsurvey-likert-field #gfield_settings_choices_container.choice_with_value .gfield_choice_header_value, .gsurvey-likert-field #gfield_settings_choices_container.choice_with_value .gfield_choice_header_label, .gsurvey-survey-field #gfield_settings_choices_container.choice_with_value .gfield_choice_header_value, .gsurvey-survey-field #gfield_settings_choices_container.choice_with_value .gfield_choice_header_label, .gsurvey-rank-field #gfield_settings_choices_container.choice_with_value .gfield_choice_header_value, .gsurvey-rank-field #gfield_settings_choices_container.choice_with_value .gfield_choice_header_label, .gsurvey-rating-field #gfield_settings_choices_container.choice_with_value .gfield_choice_header_value, .gsurvey-rating-field #gfield_settings_choices_container.choice_with_value .gfield_choice_header_label {
	display: none !important;
}

.gsurvey-likert-setting-columns-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
	padding: 0.5rem 0;
}

.gsurvey-survey-field .panel-block-tabs__body--settings .gsurvey-likert-setting-columns-header > * {
	margin: 0;
}

/* Likert ​--------------------------------------------------------------- */

.gform-settings-panel__content table.form-table table.gsurvey-likert tr:last-child td, .gform-settings-panel__content table.form-table table.gsurvey-likert tr:last-child th {
		border-right: none !important;
		border-top: none !important;
	}

.gform-settings-panel__content table.gsurvey-likert {
		border: none;
		border-radius: 0;
		border-spacing: 0;
		box-shadow: none;
		width: 100%;
	}

.gform-settings-panel__content table.gsurvey-likert td {
			border: 0;
			overflow: hidden;
			padding: 3px;
			position: relative;
			text-align: center;
			vertical-align: middle;
			width: 200px;
		}

.gform-settings-panel__content table.gsurvey-likert td.gsurvey-likert-choice {
				background-image: none;
				background-position: center center;
				background-repeat: no-repeat;
				background-size: 16px 16px;
				height: 26px;
			}

.gform-settings-panel__content table.gsurvey-likert td.gsurvey-likert-choice::after {
					border: 1px solid #9092b2;
					border-radius: 50%;
					content: " ";
					display: block;
					height: 1.625rem;
					left: calc(50% - 0.875rem);
					position: absolute;
					top: calc(50% - 0.875rem);
					width: 1.625rem;
				}

.gform-settings-panel__content table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-hover {
					background-color: rgba(223, 239, 255, 0.4);
				}

.gform-settings-panel__content table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-focus {
					background-color: rgba(223, 239, 255, 1) !important;
				}

.gform-settings-panel__content table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-selected {
					background-color: transparent;
					background-image: url(../../../images/green-check-icon.svg);
					background-position: center;
					background-repeat: no-repeat;
					background-size: auto;
				}

.gform-settings-panel__content table.gsurvey-likert td input {
				left: -9999px;
				position: absolute;
				top: 0;
			}

.gform-settings-panel__content table.gsurvey-likert tr {
			height: 40px;
		}

.gform-settings-panel__content table.gsurvey-likert tr th.gsurvey-likert-choice-label, .gform-settings-panel__content table.gsurvey-likert tr td.gsurvey-likert-choice-label {
				color: #242748;
				font-size: 13px;
				font-weight: 600;
			}

.gform-settings-panel__content table.gsurvey-likert tr td.gsurvey-likert-results {
				background-color: transparent !important;
			}

.gform-settings-panel__content table.gsurvey-likert tr td {
				border-right: none;
				border-top: none;
			}

.gform-settings-panel__content table.gsurvey-likert th.gsurvey-likert-choice-label {
			background-color: transparent;
			border-right: none;
			border-top: none;
			line-height: 1.2;
			padding: 3px 0;
			text-align: center;
			vertical-align: middle;
		}

.gform-settings-panel__content table.gsurvey-likert .gsurvey-likert-row-label {
			background-color: transparent !important;
			color: #242748;
			font-weight: 600;
			padding-left: 0.5rem;
		}

.gform-settings-panel__content table.gsurvey-likert .gsurvey-likert-row-label, .gform-settings-panel__content table.gsurvey-likert .gsurvey-likert-choice {
			border-top: none;
		}

.gform-settings-panel__content body.rtl table.gsurvey-likert th.gsurvey-likert-choice-label {
		text-align: center !important;
		vertical-align: middle;
	}

.gform-settings-panel__content body.rtl table.gsurvey-likert td.gsurvey-likert-choice input[type="radio"] {
		display: none;
	}

/* Rank -------------------------------------------------------------------- */

.gform-settings__content .gsurvey-rank-field-results table {
		border: none;
		border-radius: 0;
		border-spacing: 0;
		box-shadow: none;
		table-layout: fixed;
		width: 100%;
	}

.gform-settings__content .gsurvey-rank-field-results table tr td.gresults-rank-field-label, .gform-settings__content .gsurvey-rank-field-results table tr:first-child td.gresults-rank-field-rank, .gform-settings__content .gsurvey-rank-field-results table tr:first-child td.gresults-rank-field-score {
			color: #242748;
			font-size: 13px;
			font-weight: 600;
			text-align: center !important;
		}

.gform-settings__content .gsurvey-rank-field-results table tr td.gresults-rank-field-rank, .gform-settings__content .gsurvey-rank-field-results table tr td.gresults-rank-field-score {
			text-align: center;
		}

.gform-settings__content .gsurvey-rank-field-results table tr {
			height: 40px;
		}

ul.gsurvey-rank.ui-sortable {
	display: inline-block;
	list-style: none;
	padding-left: 0;
	width: auto;
}

body:not(.wp-admin) ul.gsurvey-rank.ui-sortable {
		display: inline-block;
		width: auto;
	}

.toplevel_page_gf_edit_forms .gravity-theme .gsurvey-rank-choice {
	align-items: center;
	background-image: none;
	display: flex;
	padding: 0;
}

.toplevel_page_gf_edit_forms .gravity-theme .gsurvey-rank-choice::before {
		background: url(../../../images/arrow-handle.svg) center center no-repeat;
		content: "";
		cursor: move;
		display: inline-block;
		height: 16px;
		margin-right: 0.5rem;
		position: relative;
		white-space: nowrap;
		width: 16px;
	}

.gravity-theme .gsurvey-rank-choice {
	background-image: url(../../../images/arrow-handle.svg);
	background-position: 0 center;
	background-repeat: no-repeat;
	background-size: 16px 16px;
	border-bottom: 1px solid rgba(204, 204, 204, 0);
	border-top: 1px solid rgba(204, 204, 204, 0);
	cursor: move;
	padding: 0.5rem 1.5rem !important;
	white-space: nowrap;
	width: auto;
}

body:not(.wp-admin) .gravity-theme .gsurvey-rank-choice.ui-sortable-helper {
		border-bottom: 1px dashed rgba(204, 204, 204, 1);
		border-top: 1px dashed rgba(204, 204, 204, 1);
	}

html[dir="rtl"] .gravity-theme .gsurvey-rank-choice, body.rtl .gravity-theme .gsurvey-rank-choice, html[dir="rtl"] .gravity-theme ul li.gsurvey-rank-choice, body.rtl .gravity-theme ul li.gsurvey-rank-choice {
		background-position: 100% center;
		padding-right: 1.5rem !important;
	}

/* Rating ---------------------------------------------------------------- */

.gform-settings-panel__content .gsurvey-rating:not(:checked) > input {
			clip: rect(0, 0, 0, 0);
			position: absolute;
		}

.gform-settings-panel__content .gsurvey-rating:not(:checked) > label {
			background-image: url(../../../images/star0.svg);
			background-position: center center;
			background-repeat: no-repeat;
			background-size: 16px 16px;
			color: #ddd;
			cursor: pointer;
			float: right;
			font-size: 18px !important;
			line-height: 18px;
			overflow: hidden;
			white-space: nowrap;
			width: 18px;
		}

.gform-settings-panel__content .gsurvey-rating:not(:checked) > label:hover, .gform-settings-panel__content .gsurvey-rating:not(:checked) > label:hover ~ label {
				background-image: url(../../../images/star1.svg);
				background-position: center center;
				background-repeat: no-repeat;
				background-size: 16px 16px;
			}

.gform-settings-panel__content .gsurvey-rating:not(:checked) > label::before {
				content: "\00a0\00a0\00a0\00a0";
			}

.gform-settings-panel__content .gsurvey-rating {
		float: left;
	}

.gform-settings-panel__content .gsurvey-rating > input:checked ~ label {
			background-image: url(../../../images/star1.svg);
			background-position: center center;
			background-repeat: no-repeat;
			background-size: 16px 16px;
		}

.gform-settings-panel__content .gsurvey-rating > input:checked + label:hover, .gform-settings-panel__content .gsurvey-rating > input:checked + label:hover ~ label, .gform-settings-panel__content .gsurvey-rating > input:checked ~ label:hover, .gform-settings-panel__content .gsurvey-rating > input:checked ~ label:hover ~ label, .gform-settings-panel__content .gsurvey-rating > label:hover ~ input:checked ~ label {
			color: #ea0;
		}

.gform-settings-panel__content .gsurvey-rating > input[type="radio"] {
			position: absolute;
		}

html[dir="rtl"] .gform-settings-panel__content .gsurvey-rating, body.rtl .gform-settings-panel__content .gsurvey-rating {
			flex-direction: row-reverse;
		}

.gform-settings-panel__content .gsurvey-rating-wrapper::after {
		clear: both;
		content: "";
		display: block;
	}

html[dir="rtl"] .gform-settings-panel__content .gsurvey-rating-wrapper, body.rtl .gform-settings-panel__content .gsurvey-rating-wrapper, html[dir="rtl"] .gform-settings-panel__content .gsurvey-rating, body.rtl .gform-settings-panel__content .gsurvey-rating {
		display: flex;
	}

@media only screen and (min-width: 769px) {

	.gform-settings-panel__content table.gsurvey-likert th.gsurvey-likert-row-label:first-child {
		border-right: none;
	}
}

/*# sourceMappingURL=admin.css.map */
