/**
 * WARNING!
 * ---------------------------------------------------------
 * Part of e-form PDF print page.
 * See README.md in the public/e-form folder for more info.
 * ---------------------------------------------------------
 */

.sv_number_question {
	align-items: stretch;
	display: flex;
	flex-direction: row;
}

.sv_main .sv_container .sv_body .sv_p_root .sv_q .number-input:not([type="button"]):not([type="reset"]):not([type="submit"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]) {
	min-width: 80px;
	flex: 1 0 0;
}

.number-align-right,
.sv_main .sv_container .sv_body .sv_p_root .sv_q .number-input:not([type="button"]):not([type="reset"]):not([type="submit"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]).number-align-right {
	text-align: right;
	padding-right: 1em;
	padding-left: revert;
	flex-grow: 1;
}

.unit {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	flex-shrink: 0;
	justify-content: center;
	min-width: 3em;
	padding: 1px 0.5em;
}

/* styling in editor */
.svd_survey_designer .unit {
	border-color: #ccc;
	border-radius: 0 2px 2px 0;
}

.sr-alert {
	height:1px;
	left:-10000px;
	overflow:hidden;
	position:absolute;
	top:auto;
	width:1px;
}

@media print {
	.sv_main .sv_container .sv_body .sv_p_root .sv_q .number-input:not([type="button"]):not([type="reset"]):not([type="submit"]):not([type="image"]):not([type="checkbox"]):not([type="radio"]) {
		min-width: 0;
		word-break: break-all;
		word-break: break-word;
		height: auto;
	}

	.unit {
		flex-shrink: 1;
		word-break: break-all;
		word-break: break-word;
	}
}
