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

theme.css
Gravity Forms Gravity Theme Styles
For Survey Add-On
A light theme for the frontend engineered to get reasonably
nice look and feel in all our standard theme targets.
https://www.gravityforms.com

Theme dependencies:
- Gravity Forms Basic Theme: basic.css

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.

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

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

.gravity-theme table.gsurvey-likert *, .gform_legacy_markup_wrapper table.gsurvey-likert * {
		box-sizing: border-box;
	}

.gravity-theme table.gsurvey-likert, .gform_legacy_markup_wrapper table.gsurvey-likert {
		border-bottom: 1px solid #ccc;
		border-left: 1px solid #ccc;
		border-right: none;
		border-spacing: 0;
		border-top: none;
		table-layout: fixed;
		width: 100%;
	}

.gravity-theme .form-table.entry-details table.gsurvey-likert, .gform_legacy_markup_wrapper .form-table.entry-details table.gsurvey-likert {
		table-layout: auto;
	}

.gravity-theme table.form-table table.gsurvey-likert tr:last-child td, .gravity-theme table.form-table table.gsurvey-likert tr:last-child th, .gform_legacy_markup_wrapper table.form-table table.gsurvey-likert tr:last-child td, .gform_legacy_markup_wrapper table.form-table table.gsurvey-likert tr:last-child th {
		border-right: 1px solid #ccc !important;
		border-top: 1px solid #ccc !important;
	}

.gravity-theme table.gsurvey-likert td, .gform_legacy_markup_wrapper table.gsurvey-likert td {
		background-clip: padding-box;
		border: 0;
		overflow: hidden;
		padding: 3px;
		position: relative;
		text-align: center;
		vertical-align: middle;
	}

.gravity-theme table.gsurvey-likert tr td, .gform_legacy_markup_wrapper table.gsurvey-likert tr td {
		border-right: 1px solid #ccc;
		border-top: 1px solid #ccc;
	}

.gravity-theme table.gsurvey-likert th.gsurvey-likert-choice-label, .gform_legacy_markup_wrapper table.gsurvey-likert th.gsurvey-likert-choice-label {
		background-color: #eee;
		border-right: 1px solid #ccc;
		border-top: 1px solid #ccc;
		line-height: 1.2;
		padding: 3px 0;
		text-align: center;
		vertical-align: middle;
	}

body.rtl .gravity-theme table.gsurvey-likert th.gsurvey-likert-choice-label, body.rtl .gform_legacy_markup_wrapper table.gsurvey-likert th.gsurvey-likert-choice-label {
			text-align: center !important;
			vertical-align: middle;
		}

.gravity-theme table.gsurvey-likert .gsurvey-likert-row-label, .gform_legacy_markup_wrapper table.gsurvey-likert .gsurvey-likert-row-label {
		background-color: rgba(238, 238, 238, 1);
		font-weight: 700;
		padding-left: 8px;
	}

.gravity-theme table.gsurvey-likert .gsurvey-likert-row-label, .gravity-theme table.gsurvey-likert .gsurvey-likert-choice, .gform_legacy_markup_wrapper table.gsurvey-likert .gsurvey-likert-row-label, .gform_legacy_markup_wrapper table.gsurvey-likert .gsurvey-likert-choice {
		border-top: 1px solid #ccc;
	}

.gravity-theme table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-hover, .gform_legacy_markup_wrapper table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-hover {
		background-color: rgba(223, 239, 255, 0.4);
	}

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

.gravity-theme table.gsurvey-likert td input, .gform_legacy_markup_wrapper table.gsurvey-likert td input {
		left: -9999px;
		position: absolute;
		top: 0;
	}

body.rtl .gravity-theme table.gsurvey-likert td.gsurvey-likert-choice input[type="radio"], body.rtl .gform_legacy_markup_wrapper table.gsurvey-likert td.gsurvey-likert-choice input[type="radio"] {
			display: none;
		}

.gravity-theme table.gsurvey-likert td.gsurvey-likert-choice, .gform_legacy_markup_wrapper table.gsurvey-likert td.gsurvey-likert-choice {
		background-image: url(../../../images/active0.svg);
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 16px 16px;
		height: 26px;
	}

.gravity-theme table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-selected, .gform_legacy_markup_wrapper table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-selected {
		background-color: rgba(223, 239, 255, 1);
		background-image: url(../../../images/active1.svg);
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 16px 16px;
	}

/* Ratings ​--------------------------------------------------------------- */

.gravity-theme .gsurvey-rating > label span, .gform_legacy_markup_wrapper .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;
	}

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

.gravity-theme .gsurvey-rating:not(:checked) > label, .gform_legacy_markup_wrapper .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;
	}

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

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

.gravity-theme .gsurvey-rating:not(:checked) > label:hover, .gravity-theme .gsurvey-rating:not(:checked) > label:hover ~ label, .gform_legacy_markup_wrapper .gsurvey-rating:not(:checked) > label:hover, .gform_legacy_markup_wrapper .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;
	}

.gravity-theme .gsurvey-rating > input:checked + label:hover, .gravity-theme .gsurvey-rating > input:checked + label:hover ~ label, .gravity-theme .gsurvey-rating > input:checked ~ label:hover, .gravity-theme .gsurvey-rating > input:checked ~ label:hover ~ label, .gravity-theme .gsurvey-rating > label:hover ~ input:checked ~ label, .gform_legacy_markup_wrapper .gsurvey-rating > input:checked + label:hover, .gform_legacy_markup_wrapper .gsurvey-rating > input:checked + label:hover ~ label, .gform_legacy_markup_wrapper .gsurvey-rating > input:checked ~ label:hover, .gform_legacy_markup_wrapper .gsurvey-rating > input:checked ~ label:hover ~ label, .gform_legacy_markup_wrapper .gsurvey-rating > label:hover ~ input:checked ~ label {
		color: #ea0;
	}

.gravity-theme .gsurvey-rating-wrapper::after, .gform_legacy_markup_wrapper .gsurvey-rating-wrapper::after {
		clear: both;
		content: "";
		display: block;
	}

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

.gravity-theme .gsurvey-rating, .gform_legacy_markup_wrapper .gsurvey-rating {
		float: left;
	}

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

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

.gravity-theme ul.gsurvey-rank, .gform_legacy_markup_wrapper ul.gsurvey-rank {
		display: inline-block;
		list-style: none;
		list-style-type: none;
		padding-left: 0;
		width: auto;
	}

.gravity-theme .gsurvey-rank-choice, .gform_legacy_markup_wrapper .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);
		padding: 8px 24px !important;
		white-space: nowrap;
		width: auto;
	}

body:not(.wp-admin) .gravity-theme .gsurvey-rank-choice, body:not(.wp-admin) .gform_legacy_markup_wrapper .gsurvey-rank-choice {
			cursor: move;
		}

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

body:not(.wp-admin) .gravity-theme .gsurvey-rank-choice.ui-sortable-helper, body:not(.wp-admin) .gform_legacy_markup_wrapper .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, html[dir="rtl"] .gform_legacy_markup_wrapper .gsurvey-rank-choice, body.rtl .gform_legacy_markup_wrapper .gsurvey-rank-choice, html[dir="rtl"] .gform_legacy_markup_wrapper ul li.gsurvey-rank-choice, body.rtl .gform_legacy_markup_wrapper ul li.gsurvey-rank-choice {
			background-position: 100% center;
			padding-right: 24px !important;
		}

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

.gravity-theme, .gform_legacy_markup_wrapper {

		/* Force the survey table to not behave like tables anymore ​--------------------------------- */
}

		.gravity-theme table.gsurvey-likert thead, .gform_legacy_markup_wrapper table.gsurvey-likert thead {
			left: -9999px;
			position: absolute;
			top: -9999px;
		}

		.gravity-theme table.gsurvey-likert tr, .gform_legacy_markup_wrapper table.gsurvey-likert tr {
			display: block;
		}

		.gravity-theme table.gsurvey-likert td, .gform_legacy_markup_wrapper table.gsurvey-likert td {
			background-position: 8px center !important;
			display: block;
			line-height: 2;
			min-height: 2.4em;
			text-align: left;
			vertical-align: middle;
		}

			body.rtl .gravity-theme table.gsurvey-likert td, body.rtl .gform_legacy_markup_wrapper table.gsurvey-likert td {
				background-position: 99% center !important;
			}

		.gravity-theme .gform_fields table.gsurvey-likert td::after, .gform_legacy_markup_wrapper .gform_fields table.gsurvey-likert td::after {
			content: attr(data-label);
			display: inline-block;
			font-weight: 400;
			line-height: 2;
			margin-left: 32px;
		}

			body.rtl .gravity-theme .gform_fields table.gsurvey-likert td::after, body.rtl .gform_legacy_markup_wrapper .gform_fields table.gsurvey-likert td::after {
				margin-right: 22px;
			}
	}

/* media queries - rules for tablet or desktop displays ​----------------- */

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

		.gravity-theme ol.gsurvey-rank-entry li, .gform_legacy_markup_wrapper ol.gsurvey-rank-entry li {
			list-style: decimal outside none;
		}
	}

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

		.gravity-theme table.gsurvey-likert tr th, .gform_legacy_markup_wrapper table.gsurvey-likert tr th {
			padding: 8px !important;
		}

		.gravity-theme table.gsurvey-likert th.gsurvey-likert-row-label:first-child, .gform_legacy_markup_wrapper table.gsurvey-likert th.gsurvey-likert-row-label:first-child {
			background: none;
			border-bottom: none;
			border-right: 1px solid #ccc;
		}

		.gravity-theme table.gsurvey-likert tr td, .gform_legacy_markup_wrapper table.gsurvey-likert tr td {
			border-top: none;
		}

		.gravity-theme table.gsurvey-likert .gsurvey-likert-row-label, .gform_legacy_markup_wrapper table.gsurvey-likert .gsurvey-likert-row-label {
			background-color: rgba(238, 238, 238, 0.6);
			font-weight: 700;
			padding-left: 0;
		}

		.gravity-theme table.gsurvey-likert tr:nth-child(odd) .gsurvey-likert-row-label, .gform_legacy_markup_wrapper table.gsurvey-likert tr:nth-child(odd) .gsurvey-likert-row-label {
			background-color: rgba(238, 238, 238, 1);
		}
	}

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