/*
----------------------------------------------------------------

theme-foundation.css
Gravity Forms Theme Foundation Styles & CSS API
For Survey Add-On
A Gravity Forms theme framework foundation responsible for layout,
out-of-the-box enhanced ui, and other basic required styles for
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.

----------------------------------------------------------------
*/

/* Fields */

.gform-theme--foundation table.gsurvey-likert {
		inline-size: 100%;
		table-layout: fixed;
		text-align: center;
	}

.gform-theme--foundation table.gsurvey-likert th, .gform-theme--foundation table.gsurvey-likert td {
			padding-block-end: 8px;
			padding-block-start: 8px;
			vertical-align: middle;
		}

.gform-theme--foundation table.gsurvey-likert .gsurvey-likert-row-label {
			padding-inline-start: var(--gf-padding-x);
			text-align: start;
		}

@media only screen and (max-width: 761px), (min-device-width: 768px) and (max-device-width: 1024px) {

		.gform-theme--foundation table.gsurvey-likert thead {
			left: -9999px;
			position: absolute;
			top: -9999px;
		}

		.gform-theme--foundation table.gsurvey-likert tr {
			display: block;
		}

		.gform-theme--foundation table.gsurvey-likert td {
			display: block;
			text-align: start;
			vertical-align: middle;
		}

		.gform-theme--foundation .gform_fields table.gsurvey-likert td::after {
			content: attr(data-label);
			display: inline-block;
		}
	}

.gform-theme--foundation .gsurvey-rank {
		display: inline-block;
		inline-size: auto;
	}

.gform-theme--foundation .gsurvey-rank .gsurvey-rank-choice {
			cursor: move;
			inline-size: auto;
			margin-inline: 0;
			padding-block: calc(var(--gf-field-choice-meta-space) / 2);
		}

.gform-theme--foundation .gsurvey-rating {
		float: left;
	}

.gform-theme--foundation .gsurvey-rating > label span {

			border: 0;

			clip: rect(0, 0, 0, 0);

			height: 1px;

			margin: -1px;

			overflow: hidden;

			padding: 0;

			position: absolute;

			white-space: nowrap;

			width: 1px;
		}

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

.gform-theme--foundation .gsurvey-rating:not(:checked) > label {
				background-image: url(../../../images/star-unselected.svg);
				background-position: center center;
				background-repeat: no-repeat;
				background-size: 28px;
				block-size: 28px;
				cursor: pointer;
				float: right;
				inline-size: 34px;
				overflow: hidden;
				padding-inline: 15px;
				white-space: nowrap;
			}

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

.gform-theme--foundation .gsurvey-rating:not(:checked) > label:hover, .gform-theme--foundation .gsurvey-rating:not(:checked) > label:hover ~ label, .gform-theme--foundation .gsurvey-rating > input:checked ~ label {
			background-image: url(../../../images/star-selected.svg);
			background-position: center center;
			background-repeat: no-repeat;
			background-size: 28px;
		}

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

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

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

/*# sourceMappingURL=theme-foundation.css.map */
